Record Class CsvManifestSnapshotBuilder.ParsedRelationData
java.lang.Object
java.lang.Record
org.impulsegraph.builder.csv.CsvManifestSnapshotBuilder.ParsedRelationData
- Enclosing class:
CsvManifestSnapshotBuilder
public static record CsvManifestSnapshotBuilder.ParsedRelationData(CsvManifestSnapshotBuilder.RelationSpec spec, List<CsvManifestSnapshotBuilder.EdgeRow> csrSortedEdges, int[] csrRowOffsets, int[] csrColTargets, int[] cscRowOffsets, int[] cscColTargets)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParsedRelationData(CsvManifestSnapshotBuilder.RelationSpec spec, List<CsvManifestSnapshotBuilder.EdgeRow> csrSortedEdges, int[] csrRowOffsets, int[] csrColTargets, int[] cscRowOffsets, int[] cscColTargets) Creates an instance of aParsedRelationDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionint[]Returns the value of thecscColTargetsrecord component.int[]Returns the value of thecscRowOffsetsrecord component.int[]Returns the value of thecsrColTargetsrecord component.int[]Returns the value of thecsrRowOffsetsrecord component.Returns the value of thecsrSortedEdgesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.spec()Returns the value of thespecrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParsedRelationData
public ParsedRelationData(CsvManifestSnapshotBuilder.RelationSpec spec, List<CsvManifestSnapshotBuilder.EdgeRow> csrSortedEdges, int[] csrRowOffsets, int[] csrColTargets, int[] cscRowOffsets, int[] cscColTargets) Creates an instance of aParsedRelationDatarecord class.- Parameters:
spec- the value for thespecrecord componentcsrSortedEdges- the value for thecsrSortedEdgesrecord componentcsrRowOffsets- the value for thecsrRowOffsetsrecord componentcsrColTargets- the value for thecsrColTargetsrecord componentcscRowOffsets- the value for thecscRowOffsetsrecord componentcscColTargets- the value for thecscColTargetsrecord 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). -
spec
Returns the value of thespecrecord component.- Returns:
- the value of the
specrecord component
-
csrSortedEdges
Returns the value of thecsrSortedEdgesrecord component.- Returns:
- the value of the
csrSortedEdgesrecord component
-
csrRowOffsets
public int[] csrRowOffsets()Returns the value of thecsrRowOffsetsrecord component.- Returns:
- the value of the
csrRowOffsetsrecord component
-
csrColTargets
public int[] csrColTargets()Returns the value of thecsrColTargetsrecord component.- Returns:
- the value of the
csrColTargetsrecord component
-
cscRowOffsets
public int[] cscRowOffsets()Returns the value of thecscRowOffsetsrecord component.- Returns:
- the value of the
cscRowOffsetsrecord component
-
cscColTargets
public int[] cscColTargets()Returns the value of thecscColTargetsrecord component.- Returns:
- the value of the
cscColTargetsrecord component
-