overflowdb.formats.graphson

Type members

Classlikes

case class BooleanValue(@value: Boolean, @type: String) extends PropertyValue
case class DoubleValue(@value: Double, @type: String) extends PropertyValue
case class Edge(id: LongValue, label: String, inVLabel: String, outVLabel: String, inV: LongValue, outV: LongValue, properties: Map[String, Property], @type: String)
case class FloatValue(@value: Float, @type: String) extends PropertyValue
case class GraphSON(@value: GraphSONElements, @type: String)
case class GraphSONElements(vertices: Seq[Vertex], edges: Seq[Edge])
object GraphSONExporter extends Exporter

Exports OverflowDB graph to GraphSON 3.0

Exports OverflowDB graph to GraphSON 3.0

https://tinkerpop.apache.org/docs/3.4.1/dev/io/#graphson-3d0

object GraphSONImporter extends Importer

Imports OverflowDB graph to GraphSON 3.0

Imports OverflowDB graph to GraphSON 3.0

https://tinkerpop.apache.org/docs/3.4.1/dev/io/#graphson-3d0

object GraphSONProtocol extends DefaultJsonProtocol
case class IntValue(@value: Int, @type: String) extends PropertyValue
case class ListValue(@value: Array[PropertyValue], @type: String) extends PropertyValue
case class LongValue(@value: Long, @type: String) extends PropertyValue
case class Property(id: LongValue, @value: PropertyValue, @type: String)
case class StringValue(@value: String, @type: String) extends PropertyValue
object Type extends Enumeration
case class Vertex(id: LongValue, label: String, properties: Map[String, Property], @type: String)