|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.accumulo.core.data.Condition
public class Condition
Conditions that must be met on a particular column in a row.
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
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()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||