Class GraphSerialisable

  • All Implemented Interfaces:
    Serializable

    public class GraphSerialisable
    extends Object
    implements Serializable
    A Serialisable object which holds the contents for creating Graphs. Does not store all the graph data, this only is used to recreate the graph after serialisation from the graph elements.
    See Also:
    GraphSerialisable.Builder, Serialized Form
    • Method Detail

      • getGraph

        public Graph getGraph()
        Returns:
        returns a new Graph built from the contents of a this class.
      • getGraph

        public Graph getGraph​(GraphLibrary library)
        Parameters:
        library - the library to use and add into the builder.
        Returns:
        returns a new Graph built from the contents of a this class.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getSchema

        public Schema getSchema()
      • getGraphId

        public String getGraphId()
      • getSerialisedSchema

        public byte[] getSerialisedSchema()
      • getSerialisedProperties

        public byte[] getSerialisedProperties()
      • getSerialisedConfig

        public byte[] getSerialisedConfig()