@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class BucketRange extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Represents querylanguage bucket command input arguments in parse output.
Note: Objects should always be created or deserialized using the BucketRange.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the BucketRange.Builder
, which maintain a
set of all explicitly set fields called BucketRange.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
BucketRange.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BucketRange(BigDecimal lower,
BigDecimal upper,
String alias)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BucketRange.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAlias()
Optional alias of the bucket range if specified in the querystring.
|
BigDecimal |
getLower()
Lower bound of the bucket range specified in the querystring for the numeric field referenced
in tbe bucket command.
|
BigDecimal |
getUpper()
Upper bound of the bucket range specified in the querystring for the numeric field referenced
in tbe bucket command.
|
int |
hashCode() |
BucketRange.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"lower","upper","alias"}) public BucketRange(BigDecimal lower, BigDecimal upper, String alias)
public static BucketRange.Builder builder()
Create a new builder.
public BucketRange.Builder toBuilder()
public BigDecimal getLower()
Lower bound of the bucket range specified in the querystring for the numeric field referenced in tbe bucket command.
public BigDecimal getUpper()
Upper bound of the bucket range specified in the querystring for the numeric field referenced in tbe bucket command.
public String getAlias()
Optional alias of the bucket range if specified in the querystring.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.