@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultSetMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The metadata of the result set returned by a SQL statement.
| Constructor and Description |
|---|
ResultSetMetadata() |
| Modifier and Type | Method and Description |
|---|---|
ResultSetMetadata |
clone() |
boolean |
equals(Object obj) |
Long |
getColumnCount()
The number of columns in the result set.
|
List<ColumnMetadata> |
getColumnMetadata()
The metadata of the columns in the result set.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setColumnCount(Long columnCount)
The number of columns in the result set.
|
void |
setColumnMetadata(Collection<ColumnMetadata> columnMetadata)
The metadata of the columns in the result set.
|
String |
toString()
Returns a string representation of this object.
|
ResultSetMetadata |
withColumnCount(Long columnCount)
The number of columns in the result set.
|
ResultSetMetadata |
withColumnMetadata(Collection<ColumnMetadata> columnMetadata)
The metadata of the columns in the result set.
|
ResultSetMetadata |
withColumnMetadata(ColumnMetadata... columnMetadata)
The metadata of the columns in the result set.
|
public void setColumnCount(Long columnCount)
The number of columns in the result set.
columnCount - The number of columns in the result set.public Long getColumnCount()
The number of columns in the result set.
public ResultSetMetadata withColumnCount(Long columnCount)
The number of columns in the result set.
columnCount - The number of columns in the result set.public List<ColumnMetadata> getColumnMetadata()
The metadata of the columns in the result set.
public void setColumnMetadata(Collection<ColumnMetadata> columnMetadata)
The metadata of the columns in the result set.
columnMetadata - The metadata of the columns in the result set.public ResultSetMetadata withColumnMetadata(ColumnMetadata... columnMetadata)
The metadata of the columns in the result set.
NOTE: This method appends the values to the existing list (if any). Use
setColumnMetadata(java.util.Collection) or withColumnMetadata(java.util.Collection) if you want
to override the existing values.
columnMetadata - The metadata of the columns in the result set.public ResultSetMetadata withColumnMetadata(Collection<ColumnMetadata> columnMetadata)
The metadata of the columns in the result set.
columnMetadata - The metadata of the columns in the result set.public String toString()
toString in class ObjectObject.toString()public ResultSetMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.