Package org.apache.fluo.api.data
Class RowColumnValue
- java.lang.Object
-
- org.apache.fluo.api.data.RowColumnValue
-
- All Implemented Interfaces:
Serializable
,Comparable<RowColumnValue>
public final class RowColumnValue extends Object implements Comparable<RowColumnValue>, Serializable
An immutable object that can hold a row, column, and value.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RowColumnValue(CharSequence row, Column col, CharSequence val)
RowColumnValue(Bytes row, Column col, Bytes val)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(RowColumnValue o)
boolean
equals(Object o)
Column
getColumn()
Retrieves Column in RowColumnBytes
getRow()
Retrieves Row in RowColumnRowColumn
getRowColumn()
String
getsRow()
Retrieves Row in RowColumn as a String using UTF-8 encoding.String
getsValue()
Bytes
getValue()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
RowColumnValue
public RowColumnValue(CharSequence row, Column col, CharSequence val)
- Parameters:
row
- (will be UTF-8 encoded)val
- (will be UTF-8 encoded)
-
-
Method Detail
-
getRow
public Bytes getRow()
Retrieves Row in RowColumn- Returns:
- Row
-
getsRow
public String getsRow()
Retrieves Row in RowColumn as a String using UTF-8 encoding.- Returns:
- Row
-
getColumn
public Column getColumn()
Retrieves Column in RowColumn- Returns:
- Column
-
getValue
public Bytes getValue()
-
getsValue
public String getsValue()
-
getRowColumn
public RowColumn getRowColumn()
-
compareTo
public int compareTo(RowColumnValue o)
- Specified by:
compareTo
in interfaceComparable<RowColumnValue>
-
-