NAME

Neo4j::Bolt::TypeHandlersC - Low level Perl to Bolt converters

SYNOPSIS

// how Neo4j::Bolt::ResultStream uses it
 for (i=0; i<n; i++) {
   value = neo4j_result_field(result, i);
   perl_value = neo4j_value_to_SV(value);
   Inline_Stack_Push( perl_value );
 }

DESCRIPTION

Neo4j::Bolt::TypeHandlersC is all C code, managed by Inline::C. It tediously defines methods to convert Perl structures to Bolt representations, and also tediously defines methods convert Bolt data to Perl representations.

METHODS

neo4j_value_t SV_to_neo4j_value(SV *sv)

Attempt to create the appropriate libneo4j-client representation of the Perl SV argument.

SV* neo4j_value_to_SV( neo4j_value_t value )

Attempt to create the appropriate Perl SV representation of the libneo4j-client neo4j_value_t argument.

SEE ALSO

Neo4j::Bolt, Neo4j::Bolt::NeoValue, Inline::C, libneo4j-client API.

AUTHOR

Mark A. Jensen
CPAN: MAJENSEN
majensen -at- cpan -dot- org

LICENSE

This software is Copyright (c) 2019-2021 by Mark A. Jensen.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004