public final class DependentColumnFilter extends CompareFilter
A comparison can optionally be provided to further filter based on the value of the dependent column.
CompareFilter.CompareOp
Constructor and Description |
---|
DependentColumnFilter(byte[] family,
byte[] qualifier)
Creates a DependentColumnFilter with the provided dependent column.
|
DependentColumnFilter(byte[] family,
byte[] qualifier,
boolean drop_dependent_column)
Creates a DependentColumnFilter with the provided dependent column, and
specify whether the dependent column should be included in the results.
|
DependentColumnFilter(byte[] family,
byte[] qualifier,
boolean drop_dependent_column,
CompareFilter.CompareOp value_compare_op,
FilterComparator value_comparator)
Creates a DependentColumnFilter with the provided dependent column,
additional value filter, and specification of whether the dependent
column should be included in the results.
|
DependentColumnFilter(byte[] family,
byte[] qualifier,
CompareFilter.CompareOp value_compare_op,
FilterComparator value_comparator)
Creates a DependentColumnFilter with the provided dependent column, and
dependent-column value comparison filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
dropDependentColumn()
Returns whether the dependent column will be included in the results.
|
byte[] |
family()
Returns the column family of the dependent column.
|
byte[] |
qualifier()
Returns the qualifier of the dependent column.
|
String |
toString() |
comparator, compareOperation, toProtobuf
public DependentColumnFilter(byte[] family, byte[] qualifier, boolean drop_dependent_column, CompareFilter.CompareOp value_compare_op, FilterComparator value_comparator)
family
- of dependent column.qualifier
- of dependent column.drop_dependent_column
- whether to include or exclude the dependent
column in the results.value_compare_op
- of dependent-column value filter.value_comparator
- of dependent-column value filter.public DependentColumnFilter(byte[] family, byte[] qualifier, boolean drop_dependent_column)
family
- of dependent column.qualifier
- of dependent column.drop_dependent_column
- whether to include or exclude the dependent
column in the results.public DependentColumnFilter(byte[] family, byte[] qualifier, CompareFilter.CompareOp value_compare_op, FilterComparator value_comparator)
family
- of dependent column.qualifier
- of dependent column.value_compare_op
- of value filter.value_comparator
- of value filter.public DependentColumnFilter(byte[] family, byte[] qualifier)
family
- of dependent column.qualifier
- of dependent columnpublic byte[] family()
public byte[] qualifier()
public boolean dropDependentColumn()
public String toString()
toString
in class CompareFilter