com.baidubce.services.tsdb.model
Class Group.TimeAndValue

java.lang.Object
  extended by com.baidubce.services.tsdb.model.Group.TimeAndValue
Enclosing class:
Group

public static class Group.TimeAndValue
extends Object


Constructor Summary
Group.TimeAndValue(long time, com.fasterxml.jackson.databind.JsonNode value)
           
Group.TimeAndValue(long time, List<? extends com.fasterxml.jackson.databind.JsonNode> values)
           
 
Method Summary
 byte[] getBytesValue()
           
 byte[] getBytesValue(int index)
           
 double getDoubleValue()
           
 double getDoubleValue(int index)
           
 long getLongValue()
           
 long getLongValue(int index)
           
 String getStringValue()
           
 String getStringValue(int index)
           
 long getTime()
           
 com.fasterxml.jackson.databind.JsonNode getValue()
           
 int getValueLength()
           
 boolean isBytes()
          Deprecated. 
 boolean isDouble()
           
 boolean isDouble(int index)
           
 boolean isLong()
           
 boolean isLong(int index)
           
 boolean isNull()
           
 boolean isNull(int index)
           
 boolean isString()
          Deprecated. 
 void setTime(long time)
           
 void setValue(com.fasterxml.jackson.databind.JsonNode value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group.TimeAndValue

public Group.TimeAndValue(long time,
                          com.fasterxml.jackson.databind.JsonNode value)

Group.TimeAndValue

public Group.TimeAndValue(long time,
                          List<? extends com.fasterxml.jackson.databind.JsonNode> values)
Method Detail

getValueLength

public int getValueLength()

getTime

public long getTime()

setTime

public void setTime(long time)

getValue

public com.fasterxml.jackson.databind.JsonNode getValue()

setValue

public void setValue(com.fasterxml.jackson.databind.JsonNode value)

isLong

public boolean isLong()

isLong

public boolean isLong(int index)

isDouble

public boolean isDouble()

isDouble

public boolean isDouble(int index)

isString

@Deprecated
public boolean isString()
Deprecated. 


isBytes

@Deprecated
public boolean isBytes()
Deprecated. 


getLongValue

public long getLongValue()

getLongValue

public long getLongValue(int index)

getDoubleValue

public double getDoubleValue()

getDoubleValue

public double getDoubleValue(int index)

getStringValue

public String getStringValue()

getStringValue

public String getStringValue(int index)

getBytesValue

public byte[] getBytesValue()
                     throws IOException
Throws:
IOException

getBytesValue

public byte[] getBytesValue(int index)
                     throws IOException
Throws:
IOException

isNull

public boolean isNull()

isNull

public boolean isNull(int index)


Copyright © 2018. All rights reserved.