Example usage for org.apache.cassandra.db ClusteringPrefix toString

List of usage examples for org.apache.cassandra.db ClusteringPrefix toString

Introduction

In this page you can find the example usage for org.apache.cassandra.db ClusteringPrefix toString.

Prototype

public String toString(TableMetadata metadata);

Source Link

Document

Generates a proper string representation of the prefix.

Usage

From source file:com.stratio.cassandra.lucene.key.KeyMapper.java

License:Apache License

/**
 * Returns the {@code String} human-readable representation of the specified {@link ClusteringPrefix}.
 *
 * @param prefix the clustering prefix//from  w w w.j  a v a  2s  .com
 * @return a {@code String} representing {@code prefix}
 */
public String toString(ClusteringPrefix prefix) {
    return prefix.toString(metadata);
}