protected static class RecordBuffer.DatumAccess
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
extentIndex
Index of an element in an extent property or null
|
private java.lang.String |
propertyName
Property name
|
Modifier | Constructor and Description |
---|---|
protected |
DatumAccess(java.lang.String propertyName,
java.lang.Integer extentIndex)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Override equality algorithm to be consistent with hash code algorithm.
|
protected java.lang.Integer |
getExtentIndex()
Get extent index (zero-based).
|
protected java.lang.String |
getPropertyName()
Get field name.
|
int |
hashCode()
Override hash code algorithm
|
private final java.lang.String propertyName
private final java.lang.Integer extentIndex
protected DatumAccess(java.lang.String propertyName, java.lang.Integer extentIndex)
propertyName
- Property name.extentIndex
- Index of an element in an extent property or null
. If present,
the index should be zero-based.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
true
if this instance is equivalent with the given instance.protected java.lang.String getPropertyName()
protected java.lang.Integer getExtentIndex()
null
if all elements are needed or not an extent
field.