public class MetricHolder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetricHolder.MetricType |
public static MetricHolder floatMetric(String name, CompressedFloatsIndexedSupplier column)
public static MetricHolder complexMetric(String name, String typeName, Indexed column)
public static void writeComplexMetric(com.google.common.io.OutputSupplier<? extends OutputStream> outSupplier, String name, String typeName, GenericIndexedWriter column) throws IOException
IOException
public static void writeFloatMetric(com.google.common.io.OutputSupplier<? extends OutputStream> outSupplier, String name, CompressedFloatsSupplierSerializer column) throws IOException
IOException
public static void writeLongMetric(com.google.common.io.OutputSupplier<? extends OutputStream> outSupplier, String name, CompressedLongsSupplierSerializer column) throws IOException
IOException
public static void writeToChannel(MetricHolder holder, WritableByteChannel out) throws IOException
IOException
public static MetricHolder fromByteBuffer(ByteBuffer buf) throws IOException
IOException
public static MetricHolder fromByteBuffer(ByteBuffer buf, ObjectStrategy strategy) throws IOException
IOException
public String getName()
public String getTypeName()
public MetricHolder.MetricType getType()
public IndexedLongs getLongType()
public IndexedFloats getFloatType()
public Indexed getComplexType()
public MetricHolder convertByteOrder(ByteOrder order)
Copyright © 2011–2015. All rights reserved.