Apache.Cassandra.Cassandra.Client.prepare_cql_query C# (CSharp) Method

prepare_cql_query() public method

Prepare a CQL (Cassandra Query Language) statement by compiling and returning - the type of CQL statement - an id token of the compiled CQL stored on the server side. - a count of the discovered bound markers in the statement
public prepare_cql_query ( byte query, Compression compression ) : CqlPreparedResult
query byte
compression Compression
return CqlPreparedResult
      public CqlPreparedResult prepare_cql_query(byte[] query, Compression compression)
      {
        #if !SILVERLIGHT
        send_prepare_cql_query(query, compression);
        return recv_prepare_cql_query();

        #else
        var asyncResult = Begin_prepare_cql_query(null, null, query, compression);
        return End_prepare_cql_query(asyncResult);

        #endif
      }
      #if SILVERLIGHT
Cassandra.Client