@Generated(value="software.amazon.awssdk:codegen") public final class TopicCalculatedField extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TopicCalculatedField.Builder,TopicCalculatedField>
A structure that represents a calculated field.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TopicCalculatedField.Builder |
| Modifier and Type | Method and Description |
|---|---|
DefaultAggregation |
aggregation()
The default aggregation.
|
String |
aggregationAsString()
The default aggregation.
|
List<AuthorSpecifiedAggregation> |
allowedAggregations()
The list of aggregation types that are allowed for the calculated field.
|
List<String> |
allowedAggregationsAsStrings()
The list of aggregation types that are allowed for the calculated field.
|
static TopicCalculatedField.Builder |
builder() |
String |
calculatedFieldDescription()
The calculated field description.
|
String |
calculatedFieldName()
The calculated field name.
|
List<String> |
calculatedFieldSynonyms()
The other names or aliases for the calculated field.
|
List<CellValueSynonym> |
cellValueSynonyms()
The other names or aliases for the calculated field cell value.
|
ColumnDataRole |
columnDataRole()
The column data role for a calculated field.
|
String |
columnDataRoleAsString()
The column data role for a calculated field.
|
ComparativeOrder |
comparativeOrder()
The order in which data is displayed for the calculated field when it's used in a comparative context.
|
DefaultFormatting |
defaultFormatting()
The default formatting definition.
|
Boolean |
disableIndexing()
A Boolean value that indicates if a calculated field is visible in the autocomplete.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
expression()
The calculated field expression.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAllowedAggregations()
For responses, this returns true if the service returned a value for the AllowedAggregations property.
|
boolean |
hasCalculatedFieldSynonyms()
For responses, this returns true if the service returned a value for the CalculatedFieldSynonyms property.
|
boolean |
hasCellValueSynonyms()
For responses, this returns true if the service returned a value for the CellValueSynonyms property.
|
int |
hashCode() |
boolean |
hasNotAllowedAggregations()
For responses, this returns true if the service returned a value for the NotAllowedAggregations property.
|
Boolean |
isIncludedInTopic()
A boolean value that indicates if a calculated field is included in the topic.
|
Boolean |
neverAggregateInFilter()
A Boolean value that indicates whether to never aggregate calculated field in filters.
|
Boolean |
nonAdditive()
The non additive for the table style target.
|
List<AuthorSpecifiedAggregation> |
notAllowedAggregations()
The list of aggregation types that are not allowed for the calculated field.
|
List<String> |
notAllowedAggregationsAsStrings()
The list of aggregation types that are not allowed for the calculated field.
|
List<SdkField<?>> |
sdkFields() |
SemanticType |
semanticType()
The semantic type.
|
static Class<? extends TopicCalculatedField.Builder> |
serializableBuilderClass() |
TopicTimeGranularity |
timeGranularity()
The level of time precision that is used to aggregate
DateTime values. |
String |
timeGranularityAsString()
The level of time precision that is used to aggregate
DateTime values. |
TopicCalculatedField.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String calculatedFieldName()
The calculated field name.
public final String calculatedFieldDescription()
The calculated field description.
public final String expression()
The calculated field expression.
public final boolean hasCalculatedFieldSynonyms()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> calculatedFieldSynonyms()
The other names or aliases for the calculated field.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCalculatedFieldSynonyms() method.
public final Boolean isIncludedInTopic()
A boolean value that indicates if a calculated field is included in the topic.
public final Boolean disableIndexing()
A Boolean value that indicates if a calculated field is visible in the autocomplete.
public final ColumnDataRole columnDataRole()
The column data role for a calculated field. Valid values for this structure are DIMENSION and
MEASURE.
If the service returns an enum value that is not available in the current SDK version, columnDataRole
will return ColumnDataRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from columnDataRoleAsString().
DIMENSION
and MEASURE.ColumnDataRolepublic final String columnDataRoleAsString()
The column data role for a calculated field. Valid values for this structure are DIMENSION and
MEASURE.
If the service returns an enum value that is not available in the current SDK version, columnDataRole
will return ColumnDataRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from columnDataRoleAsString().
DIMENSION
and MEASURE.ColumnDataRolepublic final TopicTimeGranularity timeGranularity()
The level of time precision that is used to aggregate DateTime values.
If the service returns an enum value that is not available in the current SDK version, timeGranularity
will return TopicTimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from timeGranularityAsString().
DateTime values.TopicTimeGranularitypublic final String timeGranularityAsString()
The level of time precision that is used to aggregate DateTime values.
If the service returns an enum value that is not available in the current SDK version, timeGranularity
will return TopicTimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from timeGranularityAsString().
DateTime values.TopicTimeGranularitypublic final DefaultFormatting defaultFormatting()
The default formatting definition.
public final DefaultAggregation aggregation()
The default aggregation. Valid values for this structure are SUM, MAX, MIN, COUNT, DISTINCT_COUNT, and AVERAGE.
If the service returns an enum value that is not available in the current SDK version, aggregation will
return DefaultAggregation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
aggregationAsString().
SUM, MAX,
MIN, COUNT, DISTINCT_COUNT, and AVERAGE.DefaultAggregationpublic final String aggregationAsString()
The default aggregation. Valid values for this structure are SUM, MAX, MIN, COUNT, DISTINCT_COUNT, and AVERAGE.
If the service returns an enum value that is not available in the current SDK version, aggregation will
return DefaultAggregation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
aggregationAsString().
SUM, MAX,
MIN, COUNT, DISTINCT_COUNT, and AVERAGE.DefaultAggregationpublic final ComparativeOrder comparativeOrder()
The order in which data is displayed for the calculated field when it's used in a comparative context.
public final SemanticType semanticType()
The semantic type.
public final List<AuthorSpecifiedAggregation> allowedAggregations()
The list of aggregation types that are allowed for the calculated field. Valid values for this structure are
COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN,
SUM, AVERAGE, STDEV, STDEVP, VAR,
VARP, and PERCENTILE.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAllowedAggregations() method.
COUNT, DISTINCT_COUNT, MIN, MAX,
MEDIAN, SUM, AVERAGE, STDEV, STDEVP,
VAR, VARP, and PERCENTILE.public final boolean hasAllowedAggregations()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> allowedAggregationsAsStrings()
The list of aggregation types that are allowed for the calculated field. Valid values for this structure are
COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN,
SUM, AVERAGE, STDEV, STDEVP, VAR,
VARP, and PERCENTILE.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAllowedAggregations() method.
COUNT, DISTINCT_COUNT, MIN, MAX,
MEDIAN, SUM, AVERAGE, STDEV, STDEVP,
VAR, VARP, and PERCENTILE.public final List<AuthorSpecifiedAggregation> notAllowedAggregations()
The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are
COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN,
SUM, AVERAGE, STDEV, STDEVP, VAR,
VARP, and PERCENTILE.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNotAllowedAggregations() method.
COUNT, DISTINCT_COUNT, MIN, MAX,
MEDIAN, SUM, AVERAGE, STDEV, STDEVP,
VAR, VARP, and PERCENTILE.public final boolean hasNotAllowedAggregations()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> notAllowedAggregationsAsStrings()
The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are
COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN,
SUM, AVERAGE, STDEV, STDEVP, VAR,
VARP, and PERCENTILE.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNotAllowedAggregations() method.
COUNT, DISTINCT_COUNT, MIN, MAX,
MEDIAN, SUM, AVERAGE, STDEV, STDEVP,
VAR, VARP, and PERCENTILE.public final Boolean neverAggregateInFilter()
A Boolean value that indicates whether to never aggregate calculated field in filters.
public final boolean hasCellValueSynonyms()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<CellValueSynonym> cellValueSynonyms()
The other names or aliases for the calculated field cell value.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCellValueSynonyms() method.
public final Boolean nonAdditive()
The non additive for the table style target.
public TopicCalculatedField.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TopicCalculatedField.Builder,TopicCalculatedField>public static TopicCalculatedField.Builder builder()
public static Class<? extends TopicCalculatedField.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.