@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the columns in a query execution result.
Constructor and Description |
---|
ColumnInfo() |
Modifier and Type | Method and Description |
---|---|
ColumnInfo |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCaseSensitive()
Indicates whether values in the column are case-sensitive.
|
String |
getCatalogName()
The catalog to which the query results belong.
|
String |
getLabel()
A column label.
|
String |
getName()
The name of the column.
|
String |
getNullable()
Indicates the column's nullable status.
|
Integer |
getPrecision()
For
DECIMAL data types, specifies the total number of digits, up to 38. |
Integer |
getScale()
For
DECIMAL data types, specifies the total number of digits in the fractional part of the value. |
String |
getSchemaName()
The schema name (database name) to which the query results belong.
|
String |
getTableName()
The table name for the query results.
|
String |
getType()
The data type of the column.
|
int |
hashCode() |
Boolean |
isCaseSensitive()
Indicates whether values in the column are case-sensitive.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCaseSensitive(Boolean caseSensitive)
Indicates whether values in the column are case-sensitive.
|
void |
setCatalogName(String catalogName)
The catalog to which the query results belong.
|
void |
setLabel(String label)
A column label.
|
void |
setName(String name)
The name of the column.
|
void |
setNullable(ColumnNullable nullable)
Indicates the column's nullable status.
|
void |
setNullable(String nullable)
Indicates the column's nullable status.
|
void |
setPrecision(Integer precision)
For
DECIMAL data types, specifies the total number of digits, up to 38. |
void |
setScale(Integer scale)
For
DECIMAL data types, specifies the total number of digits in the fractional part of the value. |
void |
setSchemaName(String schemaName)
The schema name (database name) to which the query results belong.
|
void |
setTableName(String tableName)
The table name for the query results.
|
void |
setType(String type)
The data type of the column.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ColumnInfo |
withCaseSensitive(Boolean caseSensitive)
Indicates whether values in the column are case-sensitive.
|
ColumnInfo |
withCatalogName(String catalogName)
The catalog to which the query results belong.
|
ColumnInfo |
withLabel(String label)
A column label.
|
ColumnInfo |
withName(String name)
The name of the column.
|
ColumnInfo |
withNullable(ColumnNullable nullable)
Indicates the column's nullable status.
|
ColumnInfo |
withNullable(String nullable)
Indicates the column's nullable status.
|
ColumnInfo |
withPrecision(Integer precision)
For
DECIMAL data types, specifies the total number of digits, up to 38. |
ColumnInfo |
withScale(Integer scale)
For
DECIMAL data types, specifies the total number of digits in the fractional part of the value. |
ColumnInfo |
withSchemaName(String schemaName)
The schema name (database name) to which the query results belong.
|
ColumnInfo |
withTableName(String tableName)
The table name for the query results.
|
ColumnInfo |
withType(String type)
The data type of the column.
|
public void setCatalogName(String catalogName)
The catalog to which the query results belong.
catalogName
- The catalog to which the query results belong.public String getCatalogName()
The catalog to which the query results belong.
public ColumnInfo withCatalogName(String catalogName)
The catalog to which the query results belong.
catalogName
- The catalog to which the query results belong.public void setSchemaName(String schemaName)
The schema name (database name) to which the query results belong.
schemaName
- The schema name (database name) to which the query results belong.public String getSchemaName()
The schema name (database name) to which the query results belong.
public ColumnInfo withSchemaName(String schemaName)
The schema name (database name) to which the query results belong.
schemaName
- The schema name (database name) to which the query results belong.public void setTableName(String tableName)
The table name for the query results.
tableName
- The table name for the query results.public String getTableName()
The table name for the query results.
public ColumnInfo withTableName(String tableName)
The table name for the query results.
tableName
- The table name for the query results.public void setName(String name)
The name of the column.
name
- The name of the column.public String getName()
The name of the column.
public ColumnInfo withName(String name)
The name of the column.
name
- The name of the column.public void setLabel(String label)
A column label.
label
- A column label.public String getLabel()
A column label.
public ColumnInfo withLabel(String label)
A column label.
label
- A column label.public void setType(String type)
The data type of the column.
type
- The data type of the column.public String getType()
The data type of the column.
public ColumnInfo withType(String type)
The data type of the column.
type
- The data type of the column.public void setPrecision(Integer precision)
For DECIMAL
data types, specifies the total number of digits, up to 38. For performance reasons, we
recommend up to 18 digits.
precision
- For DECIMAL
data types, specifies the total number of digits, up to 38. For performance
reasons, we recommend up to 18 digits.public Integer getPrecision()
For DECIMAL
data types, specifies the total number of digits, up to 38. For performance reasons, we
recommend up to 18 digits.
DECIMAL
data types, specifies the total number of digits, up to 38. For performance
reasons, we recommend up to 18 digits.public ColumnInfo withPrecision(Integer precision)
For DECIMAL
data types, specifies the total number of digits, up to 38. For performance reasons, we
recommend up to 18 digits.
precision
- For DECIMAL
data types, specifies the total number of digits, up to 38. For performance
reasons, we recommend up to 18 digits.public void setScale(Integer scale)
For DECIMAL
data types, specifies the total number of digits in the fractional part of the value.
Defaults to 0.
scale
- For DECIMAL
data types, specifies the total number of digits in the fractional part of the
value. Defaults to 0.public Integer getScale()
For DECIMAL
data types, specifies the total number of digits in the fractional part of the value.
Defaults to 0.
DECIMAL
data types, specifies the total number of digits in the fractional part of the
value. Defaults to 0.public ColumnInfo withScale(Integer scale)
For DECIMAL
data types, specifies the total number of digits in the fractional part of the value.
Defaults to 0.
scale
- For DECIMAL
data types, specifies the total number of digits in the fractional part of the
value. Defaults to 0.public void setNullable(String nullable)
Indicates the column's nullable status.
nullable
- Indicates the column's nullable status.ColumnNullable
public String getNullable()
Indicates the column's nullable status.
ColumnNullable
public ColumnInfo withNullable(String nullable)
Indicates the column's nullable status.
nullable
- Indicates the column's nullable status.ColumnNullable
public void setNullable(ColumnNullable nullable)
Indicates the column's nullable status.
nullable
- Indicates the column's nullable status.ColumnNullable
public ColumnInfo withNullable(ColumnNullable nullable)
Indicates the column's nullable status.
nullable
- Indicates the column's nullable status.ColumnNullable
public void setCaseSensitive(Boolean caseSensitive)
Indicates whether values in the column are case-sensitive.
caseSensitive
- Indicates whether values in the column are case-sensitive.public Boolean getCaseSensitive()
Indicates whether values in the column are case-sensitive.
public ColumnInfo withCaseSensitive(Boolean caseSensitive)
Indicates whether values in the column are case-sensitive.
caseSensitive
- Indicates whether values in the column are case-sensitive.public Boolean isCaseSensitive()
Indicates whether values in the column are case-sensitive.
public String toString()
toString
in class Object
Object.toString()
public ColumnInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.