Writeable
, ToXContent
, ToXContentFragment
public class ExtendedBounds extends java.lang.Object implements ToXContentFragment, Writeable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.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, 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