Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package me.prettyprint.cassandra.model.avro;
 
Avro implementation of the ColumnQuery type.

Parameters:
<N> column name type
<V> value type
Author(s):
Ran Tavory
public final class AvroColumnQuery<K, N, V> extends AbstractColumnQuery<K, N, V>
    implements ColumnQuery<K, N, V> {
  public AvroColumnQuery(Keyspace keyspaceSerializer<K> keySerializer,
      Serializer<N> nameSerializer,
      Serializer<V> valueSerializer) {
    super(keyspacekeySerializernameSerializervalueSerializer);
  }
  public QueryResult<HColumn<N, V>> execute() {
    return new QueryResultImpl<HColumn<N, V>>(.doExecute(
        new KeyspaceOperationCallback<HColumn<N, V>>() {
          @Override
          public HColumn<N, V> doInKeyspace(KeyspaceService ksthrows HectorException {
            //TODO: not implemented yet.
            return null;
          }
        }), this);
  }
New to GrepCode? Check out our FAQ X