public static enum BucketHelpers.GapPolicy extends Enum<BucketHelpers.GapPolicy>
| 列挙型定数と説明 |
|---|
INSERT_ZEROS |
SKIP |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getName()
Return the english-formatted name of the GapPolicy
|
static BucketHelpers.GapPolicy |
parse(SearchContext context,
String text,
XContentLocation tokenLocation)
Parse a string GapPolicy into the byte enum
|
static BucketHelpers.GapPolicy |
readFrom(StreamInput in)
Deserialize the GapPolicy from the input stream
|
static BucketHelpers.GapPolicy |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static BucketHelpers.GapPolicy[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
void |
writeTo(StreamOutput out)
Serialize the GapPolicy to the output stream
|
public static final BucketHelpers.GapPolicy INSERT_ZEROS
public static final BucketHelpers.GapPolicy SKIP
public static BucketHelpers.GapPolicy[] values()
for(BucketHelpers.GapPolicy c: BucketHelpers.GapPolicy.values()) System.out.println(c);
public static BucketHelpers.GapPolicy valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public static BucketHelpers.GapPolicy parse(SearchContext context, String text, XContentLocation tokenLocation)
context - SearchContext this is taking place intext - GapPolicy in string format (e.g. "ignore")public void writeTo(StreamOutput out) throws IOException
IOExceptionpublic static BucketHelpers.GapPolicy readFrom(StreamInput in) throws IOException
IOExceptionpublic String getName()
Copyright © 2009–2016. All rights reserved.