Class SDTEncoder


  • public class SDTEncoder
    extends java.lang.Object
    • Constructor Detail

      • SDTEncoder

        public SDTEncoder()
    • Method Detail

      • encodeFloat

        public boolean encodeFloat​(long time,
                                   float value)
      • encodeLong

        public boolean encodeLong​(long time,
                                  long value)
      • encodeInt

        public boolean encodeInt​(long time,
                                 int value)
      • encodeDouble

        public boolean encodeDouble​(long time,
                                    double value)
      • encode

        public int encode​(long[] timestamps,
                          double[] values,
                          int batchSize)
      • encode

        public int encode​(long[] timestamps,
                          int[] values,
                          int batchSize)
      • encode

        public int encode​(long[] timestamps,
                          long[] values,
                          int batchSize)
      • encode

        public int encode​(long[] timestamps,
                          float[] values,
                          int batchSize)
      • setCompDeviation

        public void setCompDeviation​(double compDeviation)
      • getCompDeviation

        public double getCompDeviation()
      • setCompMinTime

        public void setCompMinTime​(long compMinTime)
      • getCompMinTime

        public long getCompMinTime()
      • setCompMaxTime

        public void setCompMaxTime​(long compMaxTime)
      • getCompMaxTime

        public long getCompMaxTime()
      • getTime

        public long getTime()
      • getIntValue

        public int getIntValue()
      • getDoubleValue

        public double getDoubleValue()
      • getLongValue

        public long getLongValue()
      • getFloatValue

        public float getFloatValue()