Class TopicColumn
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TopicColumn.Builder,
TopicColumn>
Represents a column in a dataset.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal DefaultAggregation
The type of aggregation that is performed on the column data when it's queried.final String
The type of aggregation that is performed on the column data when it's queried.final List
<AuthorSpecifiedAggregation> The list of aggregation types that are allowed for the column.The list of aggregation types that are allowed for the column.static TopicColumn.Builder
builder()
final List
<CellValueSynonym> The other names or aliases for the column cell value.final ColumnDataRole
The role of the column in the data.final String
The role of the column in the data.final String
A description of the column and its contents.final String
A user-friendly name for the column.final String
The name of the column.The other names or aliases for the column.final ComparativeOrder
The order in which data is displayed for the column when it's used in a comparative context.final DefaultFormatting
The default formatting used for values in the column.final Boolean
A Boolean value that indicates whether the column shows in the autocomplete functionality.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the AllowedAggregations property.final boolean
For responses, this returns true if the service returned a value for the CellValueSynonyms property.final boolean
For responses, this returns true if the service returned a value for the ColumnSynonyms property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the NotAllowedAggregations property.final Boolean
A Boolean value that indicates whether the column is included in the query results.final Boolean
A Boolean value that indicates whether to aggregate the column data when it's used in a filter context.final Boolean
The non additive value for the column.final List
<AuthorSpecifiedAggregation> The list of aggregation types that are not allowed for the column.The list of aggregation types that are not allowed for the column.final SemanticType
The semantic type of data contained in the column.static Class
<? extends TopicColumn.Builder> final TopicTimeGranularity
The level of time precision that is used to aggregateDateTime
values.final String
The level of time precision that is used to aggregateDateTime
values.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
columnName
The name of the column.
- Returns:
- The name of the column.
-
columnFriendlyName
A user-friendly name for the column.
- Returns:
- A user-friendly name for the column.
-
columnDescription
A description of the column and its contents.
- Returns:
- A description of the column and its contents.
-
hasColumnSynonyms
public final boolean hasColumnSynonyms()For responses, this returns true if the service returned a value for the ColumnSynonyms property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
columnSynonyms
The other names or aliases for the column.
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
hasColumnSynonyms()
method.- Returns:
- The other names or aliases for the column.
-
columnDataRole
The role of the column in the data. Valid values are
DIMENSION
andMEASURE
.If the service returns an enum value that is not available in the current SDK version,
columnDataRole
will returnColumnDataRole.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcolumnDataRoleAsString()
.- Returns:
- The role of the column in the data. Valid values are
DIMENSION
andMEASURE
. - See Also:
-
columnDataRoleAsString
The role of the column in the data. Valid values are
DIMENSION
andMEASURE
.If the service returns an enum value that is not available in the current SDK version,
columnDataRole
will returnColumnDataRole.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcolumnDataRoleAsString()
.- Returns:
- The role of the column in the data. Valid values are
DIMENSION
andMEASURE
. - See Also:
-
aggregation
The type of aggregation that is performed on the column data when it's queried.
If the service returns an enum value that is not available in the current SDK version,
aggregation
will returnDefaultAggregation.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaggregationAsString()
.- Returns:
- The type of aggregation that is performed on the column data when it's queried.
- See Also:
-
aggregationAsString
The type of aggregation that is performed on the column data when it's queried.
If the service returns an enum value that is not available in the current SDK version,
aggregation
will returnDefaultAggregation.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaggregationAsString()
.- Returns:
- The type of aggregation that is performed on the column data when it's queried.
- See Also:
-
isIncludedInTopic
A Boolean value that indicates whether the column is included in the query results.
- Returns:
- A Boolean value that indicates whether the column is included in the query results.
-
disableIndexing
A Boolean value that indicates whether the column shows in the autocomplete functionality.
- Returns:
- A Boolean value that indicates whether the column shows in the autocomplete functionality.
-
comparativeOrder
The order in which data is displayed for the column when it's used in a comparative context.
- Returns:
- The order in which data is displayed for the column when it's used in a comparative context.
-
semanticType
The semantic type of data contained in the column.
- Returns:
- The semantic type of data contained in the column.
-
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 returnTopicTimeGranularity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtimeGranularityAsString()
.- Returns:
- The level of time precision that is used to aggregate
DateTime
values. - See Also:
-
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 returnTopicTimeGranularity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtimeGranularityAsString()
.- Returns:
- The level of time precision that is used to aggregate
DateTime
values. - See Also:
-
allowedAggregations
The list of aggregation types that are allowed for the column. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.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.- Returns:
- The list of aggregation types that are allowed for the column. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.
-
hasAllowedAggregations
public final boolean hasAllowedAggregations()For responses, this returns true if the service returned a value for the AllowedAggregations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
allowedAggregationsAsStrings
The list of aggregation types that are allowed for the column. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.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.- Returns:
- The list of aggregation types that are allowed for the column. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.
-
notAllowedAggregations
The list of aggregation types that are not allowed for the column. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.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.- Returns:
- The list of aggregation types that are not allowed for the column. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.
-
hasNotAllowedAggregations
public final boolean hasNotAllowedAggregations()For responses, this returns true if the service returned a value for the NotAllowedAggregations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
notAllowedAggregationsAsStrings
The list of aggregation types that are not allowed for the column. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.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.- Returns:
- The list of aggregation types that are not allowed for the column. Valid values for this structure are
COUNT
,DISTINCT_COUNT
,MIN
,MAX
,MEDIAN
,SUM
,AVERAGE
,STDEV
,STDEVP
,VAR
,VARP
, andPERCENTILE
.
-
defaultFormatting
The default formatting used for values in the column.
- Returns:
- The default formatting used for values in the column.
-
neverAggregateInFilter
A Boolean value that indicates whether to aggregate the column data when it's used in a filter context.
- Returns:
- A Boolean value that indicates whether to aggregate the column data when it's used in a filter context.
-
hasCellValueSynonyms
public final boolean hasCellValueSynonyms()For responses, this returns true if the service returned a value for the CellValueSynonyms property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
cellValueSynonyms
The other names or aliases for the column 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.- Returns:
- The other names or aliases for the column cell value.
-
nonAdditive
The non additive value for the column.
- Returns:
- The non additive value for the column.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TopicColumn.Builder,
TopicColumn> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-