Package io.debezium.document
Class BasicEntry
java.lang.Object
io.debezium.document.BasicEntry
- All Implemented Interfaces:
Array.Entry
,Comparable<Array.Entry>
Package-level implementation of
Array.Entry
in an Array
.- Author:
- Randall Hauch
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
index
private final int index -
value
-
-
Constructor Details
-
BasicEntry
BasicEntry(int index, Value value)
-
-
Method Details
-
getIndex
public int getIndex()Description copied from interface:Array.Entry
Get the index of the entry- Specified by:
getIndex
in interfaceArray.Entry
- Returns:
- the entry's index; never null
-
getValue
Description copied from interface:Array.Entry
Get the value of the entry.- Specified by:
getValue
in interfaceArray.Entry
- Returns:
- the entry's value; may be null
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceArray.Entry
- Specified by:
compareTo
in interfaceComparable<Array.Entry>
-