Search in sources :

Example 16 with Column

use of org.apache.accumulo.core.data.Column in project vertexium by visallo.

the class AccumuloGraphLogger method fetchedColumnsToString.

private String fetchedColumnsToString(SortedSet<Column> fetchedColumns) {
    StringBuilder sb = new StringBuilder();
    boolean first = true;
    for (Column fetchedColumn : fetchedColumns) {
        if (!first) {
            sb.append(",");
        }
        sb.append(fetchedColumnToString(fetchedColumn));
        first = false;
    }
    return sb.toString();
}
Also used : Column(org.apache.accumulo.core.data.Column)

Aggregations

Column (org.apache.accumulo.core.data.Column)16 Key (org.apache.accumulo.core.data.Key)10 Value (org.apache.accumulo.core.data.Value)10 HashSet (java.util.HashSet)6 TreeMap (java.util.TreeMap)6 Range (org.apache.accumulo.core.data.Range)6 SortedMapIterator (org.apache.accumulo.core.iterators.SortedMapIterator)5 Text (org.apache.hadoop.io.Text)4 IOException (java.io.IOException)3 ArrayList (java.util.ArrayList)3 Scanner (org.apache.accumulo.core.client.Scanner)3 Test (org.junit.Test)3 TreeSet (java.util.TreeSet)2 BatchScanner (org.apache.accumulo.core.client.BatchScanner)2 IteratorSetting (org.apache.accumulo.core.client.IteratorSetting)2 ByteSequence (org.apache.accumulo.core.data.ByteSequence)2 IteratorAdapter (org.apache.accumulo.core.iterators.IteratorAdapter)2 Field (java.lang.reflect.Field)1 HashMap (java.util.HashMap)1 Iterator (java.util.Iterator)1