Record Class GraphManifest
java.lang.Object
java.lang.Record
org.impulsegraph.api.schema.GraphManifest
public record GraphManifest(String graphName, String version, Map<String, GraphManifest.TablespaceDef> tablespaces, Map<String, GraphManifest.DomainDef> domains, Map<String, GraphManifest.RelationDef> relations, Map<String, GraphManifest.VirtualRelationDef> virtualRelations)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionGraphManifest(String graphName, String version, Map<String, GraphManifest.TablespaceDef> tablespaces, Map<String, GraphManifest.DomainDef> domains, Map<String, GraphManifest.RelationDef> relations, Map<String, GraphManifest.VirtualRelationDef> virtualRelations) Creates an instance of aGraphManifestrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondomains()Returns the value of thedomainsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegraphNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of therelationsrecord component.Returns the value of thetablespacesrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.Returns the value of thevirtualRelationsrecord component.
-
Constructor Details
-
GraphManifest
public GraphManifest(String graphName, String version, Map<String, GraphManifest.TablespaceDef> tablespaces, Map<String, GraphManifest.DomainDef> domains, Map<String, GraphManifest.RelationDef> relations, Map<String, GraphManifest.VirtualRelationDef> virtualRelations) Creates an instance of aGraphManifestrecord class.- Parameters:
graphName- the value for thegraphNamerecord componentversion- the value for theversionrecord componenttablespaces- the value for thetablespacesrecord componentdomains- the value for thedomainsrecord componentrelations- the value for therelationsrecord componentvirtualRelations- the value for thevirtualRelationsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
graphName
Returns the value of thegraphNamerecord component.- Returns:
- the value of the
graphNamerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
tablespaces
Returns the value of thetablespacesrecord component.- Returns:
- the value of the
tablespacesrecord component
-
domains
Returns the value of thedomainsrecord component.- Returns:
- the value of the
domainsrecord component
-
relations
Returns the value of therelationsrecord component.- Returns:
- the value of the
relationsrecord component
-
virtualRelations
Returns the value of thevirtualRelationsrecord component.- Returns:
- the value of the
virtualRelationsrecord component
-