public final class WhereClause
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WhereClause.Builder |
Modifier and Type | Field and Description |
---|---|
java.util.List<CustomIndexExpression> |
expressions |
java.util.List<Relation> |
relations |
Modifier and Type | Method and Description |
---|---|
boolean |
containsCustomExpressions() |
static WhereClause |
empty() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static WhereClause |
parse(java.lang.String cql) |
WhereClause |
renameIdentifier(ColumnIdentifier from,
ColumnIdentifier to)
Renames identifiers in all relations
|
java.lang.String |
toString() |
public final java.util.List<Relation> relations
public final java.util.List<CustomIndexExpression> expressions
public static WhereClause empty()
public boolean containsCustomExpressions()
public WhereClause renameIdentifier(ColumnIdentifier from, ColumnIdentifier to)
from
- the old identifierto
- the new identifierpublic static WhereClause parse(java.lang.String cql) throws org.antlr.runtime.RecognitionException
org.antlr.runtime.RecognitionException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2009-2020 The Apache Software Foundation