Package com.kuzudb
Class InternalID
java.lang.Object
com.kuzudb.InternalID
InternalID type which stores the table_id and offset of a node/rel.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInternalID
(long tableId, long offset) Create an InternalID from the given table_id and offset. -
Method Summary
-
Field Details
-
tableId
public long tableId -
offset
public long offset
-
-
Constructor Details
-
InternalID
public InternalID(long tableId, long offset) Create an InternalID from the given table_id and offset.- Parameters:
tableId
- The table_id of the node/rel.offset
- The offset of the node/rel.
-
-
Method Details
-
equals
Compares this InternalID to another object for equality. Two InternalID objects are considered equal if their tableId and offset are the same. -
hashCode
public int hashCode()Returns the hash code value for this InternalID. The hash code is generated using the tableId and offset fields to ensure that equal InternalID objects produce the same hash code. -
toString
Returns a string representation of this InternalID.
-