public class Alias extends Object implements Streamable
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(Object o) |
String |
filter()
Returns the filter associated with the alias
|
Alias |
filter(Map<String,Object> filter)
Associates a filter to the alias
|
Alias |
filter(QueryBuilder filterBuilder)
Associates a filter to the alias
|
Alias |
filter(String filter)
Associates a filter to the alias
|
static Alias |
fromXContent(XContentParser parser)
Parses an alias and returns its parsed representation
|
int |
hashCode() |
String |
indexRouting()
Returns the index routing value associated with the alias
|
Alias |
indexRouting(String indexRouting)
Associates an index routing value to the alias
|
String |
name()
Returns the alias name
|
static Alias |
read(StreamInput in)
Allows to read an alias from the provided input stream
|
void |
readFrom(StreamInput in) |
Alias |
routing(String routing)
Associates a routing value to the alias
|
String |
searchRouting()
Returns the search routing value associated with the alias
|
Alias |
searchRouting(String searchRouting)
Associates a search routing value to the alias
|
void |
writeTo(StreamOutput out) |
public Alias(String name)
public String name()
public String filter()
public Alias filter(QueryBuilder filterBuilder)
public String indexRouting()
public Alias indexRouting(String indexRouting)
public String searchRouting()
public Alias searchRouting(String searchRouting)
public static Alias read(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic static Alias fromXContent(XContentParser parser) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.