@Generated(value="OracleSDKGenerator", comments="API Version: 20210101") public final class RowReductionDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Information regarding how/what row reduction methods will be applied. If this property is not
present or is null, then it means row reduction is not applied.
Note: Objects should always be created or deserialized using the RowReductionDetails.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 RowReductionDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
RowReductionDetails.Builder |
static class |
RowReductionDetails.ReductionMethod
Method for row reduction: * DELETE_ROW - delete rows with equal intervals * AVERAGE_ROW -
average multiple rows to one row
|
Constructor and Description |
---|
RowReductionDetails(Boolean isReductionEnabled,
Double reductionPercentage,
RowReductionDetails.ReductionMethod reductionMethod)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RowReductionDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getIsReductionEnabled()
A boolean value to indicate if row reduction is applied
|
RowReductionDetails.ReductionMethod |
getReductionMethod()
Method for row reduction: * DELETE_ROW - delete rows with equal intervals * AVERAGE_ROW -
average multiple rows to one row
|
Double |
getReductionPercentage()
A percentage to reduce data size down to on top of original data
|
int |
hashCode() |
RowReductionDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isReductionEnabled","reductionPercentage","reductionMethod"}) public RowReductionDetails(Boolean isReductionEnabled, Double reductionPercentage, RowReductionDetails.ReductionMethod reductionMethod)
public static RowReductionDetails.Builder builder()
Create a new builder.
public RowReductionDetails.Builder toBuilder()
public Boolean getIsReductionEnabled()
A boolean value to indicate if row reduction is applied
public Double getReductionPercentage()
A percentage to reduce data size down to on top of original data
public RowReductionDetails.ReductionMethod getReductionMethod()
Method for row reduction: * DELETE_ROW - delete rows with equal intervals * AVERAGE_ROW - average multiple rows to one row
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–2023. All rights reserved.