Class AbstractColumn
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.AbstractColumn
-
- Direct Known Subclasses:
ChartColumn
,ChartDataColumn
,ClassifyColumn
,Column
,TableColumn
,TimeClusterColumn
,TimeClusterDataColumn
,TimeColumn
,TimeStatsColumn
,TimeStatsDataColumn
,TrendColumn
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public class AbstractColumn extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Generic column defining all attributes common to all querylanguage columns.
Note: Objects should always be created or deserialized using theBuilder
. 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 theBuilder
, which maintain a set of all explicitly set fields calledBuilder#__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractColumn.Type
Column classification when column requires special designation.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractColumn(String displayName, SubSystemName subSystem, List<FieldValue> values, Boolean isListOfValues, Boolean isMultiValued, Boolean isCaseSensitive, Boolean isGroupable, Boolean isEvaluable, Boolean isHidden, ValueType valueType, String originalDisplayName, String internalName)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDisplayName()
Column display name - will be alias if column is renamed by queryStrng.String
getInternalName()
Internal identifier for the column.Boolean
getIsCaseSensitive()
A flag indicating whether or not the field is a case sensitive field.Boolean
getIsEvaluable()
Identifies if this column can be used as an expression parameter in any command that accepts querylanguage expressions.Boolean
getIsGroupable()
Identifies if this column can be used as a grouping field in any grouping command.Boolean
getIsHidden()
Identifies if this column should be hidden by default but can be displayed in the UI on demand.Boolean
getIsListOfValues()
Identifies if all values in this column come from a pre-defined list of values.Boolean
getIsMultiValued()
Identifies if this column allows multiple values to exist in a single row.String
getOriginalDisplayName()
Same as displayName unless column renamed in which case this will hold the original display name for the column.SubSystemName
getSubSystem()
Subsystem column belongs to.List<FieldValue>
getValues()
If the column is a ‘List of Values’ column, this array contains the field values that are applicable to query results or all if no filters applied.ValueType
getValueType()
Field denoting column data type.int
hashCode()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AbstractColumn
@Deprecated @ConstructorProperties({"displayName","subSystem","values","isListOfValues","isMultiValued","isCaseSensitive","isGroupable","isEvaluable","isHidden","valueType","originalDisplayName","internalName"}) protected AbstractColumn(String displayName, SubSystemName subSystem, List<FieldValue> values, Boolean isListOfValues, Boolean isMultiValued, Boolean isCaseSensitive, Boolean isGroupable, Boolean isEvaluable, Boolean isHidden, ValueType valueType, String originalDisplayName, String internalName)
Deprecated.
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Column display name - will be alias if column is renamed by queryStrng.- Returns:
- the value
-
getSubSystem
public SubSystemName getSubSystem()
Subsystem column belongs to.- Returns:
- the value
-
getValues
public List<FieldValue> getValues()
If the column is a ‘List of Values’ column, this array contains the field values that are applicable to query results or all if no filters applied.- Returns:
- the value
-
getIsListOfValues
public Boolean getIsListOfValues()
Identifies if all values in this column come from a pre-defined list of values.- Returns:
- the value
-
getIsMultiValued
public Boolean getIsMultiValued()
Identifies if this column allows multiple values to exist in a single row.- Returns:
- the value
-
getIsCaseSensitive
public Boolean getIsCaseSensitive()
A flag indicating whether or not the field is a case sensitive field.Only applies to string fields.
- Returns:
- the value
-
getIsGroupable
public Boolean getIsGroupable()
Identifies if this column can be used as a grouping field in any grouping command.- Returns:
- the value
-
getIsEvaluable
public Boolean getIsEvaluable()
Identifies if this column can be used as an expression parameter in any command that accepts querylanguage expressions.- Returns:
- the value
-
getIsHidden
public Boolean getIsHidden()
Identifies if this column should be hidden by default but can be displayed in the UI on demand.- Returns:
- the value
-
getValueType
public ValueType getValueType()
Field denoting column data type.- Returns:
- the value
-
getOriginalDisplayName
public String getOriginalDisplayName()
Same as displayName unless column renamed in which case this will hold the original display name for the column.- Returns:
- the value
-
getInternalName
public String getInternalName()
Internal identifier for the column.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-