Class TopicColumn
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.TopicColumn
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TopicColumn.Builder,TopicColumn>
@Generated("software.amazon.awssdk:codegen") public final class TopicColumn extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TopicColumn.Builder,TopicColumn>
Represents a column in a dataset.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTopicColumn.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultAggregationaggregation()The type of aggregation that is performed on the column data when it's queried.StringaggregationAsString()The type of aggregation that is performed on the column data when it's queried.List<AuthorSpecifiedAggregation>allowedAggregations()The list of aggregation types that are allowed for the column.List<String>allowedAggregationsAsStrings()The list of aggregation types that are allowed for the column.static TopicColumn.Builderbuilder()List<CellValueSynonym>cellValueSynonyms()The other names or aliases for the column cell value.ColumnDataRolecolumnDataRole()The role of the column in the data.StringcolumnDataRoleAsString()The role of the column in the data.StringcolumnDescription()A description of the column and its contents.StringcolumnFriendlyName()A user-friendly name for the column.StringcolumnName()The name of the column.List<String>columnSynonyms()The other names or aliases for the column.ComparativeOrdercomparativeOrder()The order in which data is displayed for the column when it's used in a comparative context.DefaultFormattingdefaultFormatting()The default formatting used for values in the column.BooleandisableIndexing()A Boolean value that indicates whether the column shows in the autocomplete functionality.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAllowedAggregations()For responses, this returns true if the service returned a value for the AllowedAggregations property.booleanhasCellValueSynonyms()For responses, this returns true if the service returned a value for the CellValueSynonyms property.booleanhasColumnSynonyms()For responses, this returns true if the service returned a value for the ColumnSynonyms property.inthashCode()booleanhasNotAllowedAggregations()For responses, this returns true if the service returned a value for the NotAllowedAggregations property.BooleanisIncludedInTopic()A Boolean value that indicates whether the column is included in the query results.BooleanneverAggregateInFilter()A Boolean value that indicates whether to aggregate the column data when it's used in a filter context.BooleannonAdditive()The non additive value for the column.List<AuthorSpecifiedAggregation>notAllowedAggregations()The list of aggregation types that are not allowed for the column.List<String>notAllowedAggregationsAsStrings()The list of aggregation types that are not allowed for the column.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()SemanticTypesemanticType()The semantic type of data contained in the column.static Class<? extends TopicColumn.Builder>serializableBuilderClass()TopicTimeGranularitytimeGranularity()The level of time precision that is used to aggregateDateTimevalues.StringtimeGranularityAsString()The level of time precision that is used to aggregateDateTimevalues.TopicColumn.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
columnName
public final String columnName()
The name of the column.
- Returns:
- The name of the column.
-
columnFriendlyName
public final String columnFriendlyName()
A user-friendly name for the column.
- Returns:
- A user-friendly name for the column.
-
columnDescription
public final String 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
public final List<String> 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
public final ColumnDataRole columnDataRole()
The role of the column in the data. Valid values are
DIMENSIONandMEASURE.If the service returns an enum value that is not available in the current SDK version,
columnDataRolewill 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
DIMENSIONandMEASURE. - See Also:
ColumnDataRole
-
columnDataRoleAsString
public final String columnDataRoleAsString()
The role of the column in the data. Valid values are
DIMENSIONandMEASURE.If the service returns an enum value that is not available in the current SDK version,
columnDataRolewill 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
DIMENSIONandMEASURE. - See Also:
ColumnDataRole
-
aggregation
public final DefaultAggregation 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,
aggregationwill 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:
DefaultAggregation
-
aggregationAsString
public final String 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,
aggregationwill 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:
DefaultAggregation
-
isIncludedInTopic
public final Boolean 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
public final Boolean 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
public final ComparativeOrder 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
public final SemanticType semanticType()
The semantic type of data contained in the column.
- Returns:
- The semantic type of data contained in the column.
-
timeGranularity
public final TopicTimeGranularity timeGranularity()
The level of time precision that is used to aggregate
DateTimevalues.If the service returns an enum value that is not available in the current SDK version,
timeGranularitywill 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
DateTimevalues. - See Also:
TopicTimeGranularity
-
timeGranularityAsString
public final String timeGranularityAsString()
The level of time precision that is used to aggregate
DateTimevalues.If the service returns an enum value that is not available in the current SDK version,
timeGranularitywill 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
DateTimevalues. - See Also:
TopicTimeGranularity
-
allowedAggregations
public final List<AuthorSpecifiedAggregation> 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
public final List<String> 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
public final List<AuthorSpecifiedAggregation> 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
public final List<String> 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
public final DefaultFormatting defaultFormatting()
The default formatting used for values in the column.
- Returns:
- The default formatting used for values in the column.
-
neverAggregateInFilter
public final Boolean 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
public final List<CellValueSynonym> 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
public final Boolean nonAdditive()
The non additive value for the column.
- Returns:
- The non additive value for the column.
-
toBuilder
public TopicColumn.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TopicColumn.Builder,TopicColumn>
-
builder
public static TopicColumn.Builder builder()
-
serializableBuilderClass
public static Class<? extends TopicColumn.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-