public class ExtendedBounds extends java.lang.Object implements ToXContent, Writeable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.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, wait
isFragment
public 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.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Long getMin()
public java.lang.Long getMax()
public java.lang.String toString()
toString
in class java.lang.Object