public final class AliasFilter extends java.lang.Object implements Writeable
QueryBuilder
and a list of alias names that filters the builder is composed of.Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field and Description |
---|---|
static AliasFilter |
EMPTY |
Constructor and Description |
---|
AliasFilter(QueryBuilder filter,
java.lang.String... aliases) |
AliasFilter(StreamInput input) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String[] |
getAliases()
Returns the aliases patters that are used to compose the
QueryBuilder
returned from getQueryBuilder() |
QueryBuilder |
getQueryBuilder()
Returns the alias filter
QueryBuilder or null if there is no such filter |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public static final AliasFilter EMPTY
public AliasFilter(QueryBuilder filter, java.lang.String... aliases)
public AliasFilter(StreamInput input) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public java.lang.String[] getAliases()
QueryBuilder
returned from getQueryBuilder()
public QueryBuilder getQueryBuilder()
QueryBuilder
or null
if there is no such filterpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object