Writeable, ToXContent, ToXContentFragmentpublic class ExtendedBounds extends java.lang.Object implements ToXContentFragment, Writeable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static ConstructingObjectParser<ExtendedBounds,java.lang.Void> |
PARSER |
EMPTY_PARAMS| Constructor | Description |
|---|---|
ExtendedBounds(java.lang.Long min,
java.lang.Long max) |
Construct with parsed bounds.
|
ExtendedBounds(java.lang.String minAsStr,
java.lang.String maxAsStr) |
Construct with unparsed bounds.
|
ExtendedBounds(StreamInput in) |
Read from a stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.Long |
getMax() |
|
java.lang.Long |
getMin() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisFragmentpublic static final ConstructingObjectParser<ExtendedBounds,java.lang.Void> PARSER
public ExtendedBounds(java.lang.Long min,
java.lang.Long max)
public ExtendedBounds(java.lang.String minAsStr,
java.lang.String maxAsStr)
public ExtendedBounds(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.Long getMin()
public java.lang.Long getMax()
public java.lang.String toString()
toString in class java.lang.Object