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
Fields -
Constructor Summary
Constructors -
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.EntryGet the index of the entry- Specified by:
getIndexin interfaceArray.Entry- Returns:
- the entry's index; never null
-
getValue
Description copied from interface:Array.EntryGet the value of the entry.- Specified by:
getValuein interfaceArray.Entry- Returns:
- the entry's value; may be null
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceArray.Entry- Specified by:
compareToin interfaceComparable<Array.Entry>
-