Package uk.gov.gchq.gaffer.data.generator
Generator classes for transforming between Gaffer elements and domain objects.
-
Interface Summary Interface Description ElementGenerator<OBJ> AnElementGenerator
converts domain objects toElement
s.ObjectGenerator<OBJ> AnObjectGenerator
convertsElement
s into domain objects.OneToManyElementGenerator<OBJ> AOneToManyElementGenerator
takes an input object and converts it into multiple outputElement
s.OneToOneElementGenerator<OBJ> AOneToOneElementGenerator
takes an input object and converts it into anElement
.OneToOneObjectGenerator<OBJ> AOneToOneObjectGenerator
takes an inputElement
and converts it into an output object. -
Class Summary Class Description CsvGenerator Generates a CSV string for eachElement
, based on the fields and constants provided.CsvGenerator.Builder JsonToElementGenerator Implementation of aOneToOneElementGenerator
to convert JSON strings intoElement
objects.MapGenerator MapGenerator.Builder Neo4jCsvElementGenerator AnOpenCypherCsvElementGenerator
s that will generate Gaffer Elements from Neo4j CSV strings.Neo4jCsvGenerator Generates a Neo4j CSV string for each Element, based on the fields and constants provided.NeptuneCsvElementGenerator AnOpenCypherCsvElementGenerator
s that will generate Gaffer Elements from Neptune CSV strings.NeptuneCsvGenerator Generates a Neptune CSV string for each Element, based on the fields and constants provided.OpenCypherCsvElementGenerator This is an abstract base class forElementGenerator
s that will generate GafferElement
s from OpenCypher-like CSV strings.