public class BucketStreams extends Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
static interface |
BucketStreams.Stream<B extends MultiBucketsAggregation.Bucket>
A stream that knows how to read a bucket from the input.
|
| コンストラクタと説明 |
|---|
BucketStreams() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static void |
registerStream(BucketStreams.Stream stream,
BytesReference... types)
Registers the given stream and associate it with the given types.
|
static BucketStreams.Stream |
stream(BytesReference type)
Returns the stream that is registered for the given type
|
public static void registerStream(BucketStreams.Stream stream, BytesReference... types)
stream - The streams to registertypes - The types associated with the streamspublic static BucketStreams.Stream stream(BytesReference type)
type - The given typeCopyright © 2009–2016. All rights reserved.