public class Condition extends Object
Constructor and Description |
---|
Condition(byte[] cf,
byte[] cq) |
Condition(ByteSequence cf,
ByteSequence cq) |
Condition(CharSequence cf,
CharSequence cq) |
Condition(org.apache.hadoop.io.Text cf,
org.apache.hadoop.io.Text cq) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ByteSequence |
getFamily() |
IteratorSetting[] |
getIterators() |
ByteSequence |
getQualifier() |
Long |
getTimestamp() |
ByteSequence |
getValue() |
ByteSequence |
getVisibility() |
int |
hashCode() |
Condition |
setIterators(IteratorSetting... iterators)
Set iterators to use when reading the columns value.
|
Condition |
setTimestamp(long ts)
Sets the version for the column to check.
|
Condition |
setValue(byte[] value)
This method sets the expected value of a column.
|
Condition |
setValue(ByteSequence value)
see
setValue(byte[]) |
Condition |
setValue(CharSequence value)
see
setValue(byte[]) |
Condition |
setValue(org.apache.hadoop.io.Text value)
see
setValue(byte[]) |
Condition |
setVisibility(ColumnVisibility cv)
Sets the visibility for the column to check.
|
public Condition(CharSequence cf, CharSequence cq)
public Condition(byte[] cf, byte[] cq)
public Condition(org.apache.hadoop.io.Text cf, org.apache.hadoop.io.Text cq)
public Condition(ByteSequence cf, ByteSequence cq)
public ByteSequence getFamily()
public ByteSequence getQualifier()
public Condition setTimestamp(long ts)
public Long getTimestamp()
public Condition setValue(CharSequence value)
setValue(byte[])
public Condition setValue(byte[] value)
public Condition setValue(org.apache.hadoop.io.Text value)
setValue(byte[])
public Condition setValue(ByteSequence value)
setValue(byte[])
public ByteSequence getValue()
public Condition setVisibility(ColumnVisibility cv)
public ByteSequence getVisibility()
public Condition setIterators(IteratorSetting... iterators)
public IteratorSetting[] getIterators()
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.