|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.cql.WhereClause
public class WhereClause
WhereClauses encapsulate all of the predicates of a SELECT query.
| Constructor Summary | |
|---|---|
WhereClause()
|
|
WhereClause(Relation firstRelation)
Create a new WhereClause with the first parsed relation. |
|
| Method Summary | |
|---|---|
void |
and(Relation relation)
Add an additional relation to this WHERE clause. |
void |
andKeyEquals(Term key)
The same as KEY = |
void |
extractKeysFromColumns(CFMetaData cfm)
|
java.util.List<Relation> |
getColumnRelations()
|
Term |
getFinishKey()
|
java.lang.String |
getKeyAlias()
|
java.util.Set<Term> |
getKeys()
|
Term |
getStartKey()
|
boolean |
includeFinishKey()
|
boolean |
includeStartKey()
|
boolean |
isKeyRange()
|
boolean |
isMultiKey()
|
void |
setKeyAlias(java.lang.String alias)
|
void |
setMultiKey(boolean multiKey)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WhereClause(Relation firstRelation)
firstRelation - key or column relationpublic WhereClause()
| Method Detail |
|---|
public void and(Relation relation)
relation - the relation to add.public void andKeyEquals(Term key)
key - key to include into clausepublic java.util.List<Relation> getColumnRelations()
public boolean isKeyRange()
public Term getStartKey()
public Term getFinishKey()
public java.util.Set<Term> getKeys()
public boolean includeStartKey()
public boolean includeFinishKey()
public void setKeyAlias(java.lang.String alias)
public boolean isMultiKey()
public void setMultiKey(boolean multiKey)
public java.lang.String getKeyAlias()
public void extractKeysFromColumns(CFMetaData cfm)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||