@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class FieldsAddRemoveField extends AbstractField
Field denoting a field specified in querylanguage FIELDS command.
Note: Objects should always be created or deserialized using the FieldsAddRemoveField.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 FieldsAddRemoveField.Builder
, which maintain a
set of all explicitly set fields called FieldsAddRemoveField.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 |
FieldsAddRemoveField.Builder |
static class |
FieldsAddRemoveField.Operation
Denotes if field entry in FIELDS command is to show / hide field in results.
|
AbstractField.Name
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
FieldsAddRemoveField(String displayName,
Boolean isDeclared,
List<String> originalDisplayNames,
String internalName,
ValueType valueType,
Boolean isGroupable,
Boolean isDuration,
String alias,
String filterQueryString,
String unitType,
FieldsAddRemoveField.Operation operation)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static FieldsAddRemoveField.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
FieldsAddRemoveField.Operation |
getOperation()
Denotes if field entry in FIELDS command is to show / hide field in results.
|
int |
hashCode() |
FieldsAddRemoveField.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getAlias, getDisplayName, getFilterQueryString, getInternalName, getIsDeclared, getIsDuration, getIsGroupable, getOriginalDisplayNames, getUnitType, getValueType
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public FieldsAddRemoveField(String displayName, Boolean isDeclared, List<String> originalDisplayNames, String internalName, ValueType valueType, Boolean isGroupable, Boolean isDuration, String alias, String filterQueryString, String unitType, FieldsAddRemoveField.Operation operation)
public static FieldsAddRemoveField.Builder builder()
Create a new builder.
public FieldsAddRemoveField.Builder toBuilder()
public FieldsAddRemoveField.Operation getOperation()
Denotes if field entry in FIELDS command is to show / hide field in results.
public String toString()
toString
in class AbstractField
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class AbstractField
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class AbstractField
public int hashCode()
hashCode
in class AbstractField
Copyright © 2016–2024. All rights reserved.