@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnInfo extends Object implements Serializable, Cloneable, StructuredPojo
Contains the metadata for query results such as the column names, data types, and other attributes.
Constructor and Description |
---|
ColumnInfo() |
Modifier and Type | Method and Description |
---|---|
ColumnInfo |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the result set column.
|
Type |
getType()
The data type of the result set column.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the result set column.
|
void |
setType(Type type)
The data type of the result set column.
|
String |
toString()
Returns a string representation of this object.
|
ColumnInfo |
withName(String name)
The name of the result set column.
|
ColumnInfo |
withType(Type type)
The data type of the result set column.
|
public void setName(String name)
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
name
- The name of the result set column. The name of the result set is available for columns of all data types
except for arrays.public String getName()
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
public ColumnInfo withName(String name)
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
name
- The name of the result set column. The name of the result set is available for columns of all data types
except for arrays.public void setType(Type type)
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
type
- The data type of the result set column. The data type can be a scalar or complex. Scalar data types are
integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and
others.public Type getType()
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
public ColumnInfo withType(Type type)
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
type
- The data type of the result set column. The data type can be a scalar or complex. Scalar data types are
integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and
others.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.