This packet is sent by the server in response to a Prepare packet. It describes the parameters defined in the statement, and the shape of the result set when the statement is executed.
queryID (byte[]): the ID of the prepared statement.
resultMetadataID (byte[]): the ID of the metadata for the prepared statement
flagPreparedGlobalTableSpec (boolean): only one keyspace/table name is specified
preparedKeyspaceName (string): if flagPreparedGlobalTableSpec is true, the keyspace name for the statement
preparedTableName (string): if flagPreparedGlobalTableSpec is true, thetable name for the statement
pkIndexes (list<int>): list of the partition key column indexes
bindMarkers (list<BindMarker>): the definitions of the parameters specified in the query (see below)
columnSpecs (list<ColumnSpec>): the definitions of the columns in the result set when the statement gets executed
This packet type has no methods aside from the common ones.
string getKeyspaceName(): returns the keyspace for the parameter
void setKeyspaceName(string): sets the keyspace for the parameter
string getTableName(): returns the table for the parameter
void setTableName(string): sets the table for the parameter
string getName(): returns the name for the parameter, if any (e.g. if the parameter was specified with the notation :paramName )
void setName(string): sets the name for the parameter
ColspecOption getOption(): gets the type of the parameter
void setOption(ColspecOption): sets the type of the parameter