public class ExtendedBounds extends java.lang.Object implements ToXContent, Writeable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field and Description |
|---|---|
static ConstructingObjectParser<ExtendedBounds,java.lang.Void> |
PARSER |
EMPTY_PARAMS| Constructor and Description |
|---|
ExtendedBounds(java.lang.Long min,
java.lang.Long max)
Construct with parsed bounds.
|
ExtendedBounds(StreamInput in)
Read from a stream.
|
ExtendedBounds(java.lang.String minAsStr,
java.lang.String maxAsStr)
Construct with unparsed bounds.
|
| Modifier and Type | Method and 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