@API.Public @API.ThreadSafe public interface ValueBuilder
Value
interface.Modifier and Type | Method and Description |
---|---|
Value |
newNullValue()
Returns a new
Value of Value.Type.NULL . |
Value |
newValue(BigDecimal value)
|
Value |
newValue(boolean value)
Returns a new
Value of Value.Type.BOOLEAN from the specified boolean value. |
Value |
newValue(byte value)
Returns a new
Value of Value.Type.BYTE from the specified byte value. |
Value |
newValue(byte[] value)
Returns a new
Value of Value.Type.BINARY from the specified byte array. |
Value |
newValue(ByteBuffer value)
|
Value |
newValue(double value)
Returns a new
Value of Value.Type.DOUBLE from the specified double value. |
Value |
newValue(float value)
Returns a new
Value of Value.Type.FLOAT from the specified float value. |
Value |
newValue(int value)
Returns a new
Value of Value.Type.INT from the specified integer value. |
Value |
newValue(List<? extends Object> list)
|
Value |
newValue(long value)
Returns a new
Value of Value.Type.LONG from the specified long value. |
Value |
newValue(Map<String,? extends Object> map)
|
Value |
newValue(ODate value)
|
Value |
newValue(OInterval value)
|
Value |
newValue(OTime value)
|
Value |
newValue(OTimestamp value)
|
Value |
newValue(short value)
Returns a new
Value of Value.Type.SHORT from the specified short value. |
Value |
newValue(String value)
Returns a new
Value of Value.Type.STRING from the specified String. |
Value newNullValue()
Value
of Value.Type.NULL
.Value newValue(boolean value)
Value
of Value.Type.BOOLEAN
from the specified boolean value.Value newValue(@API.NonNullable String value)
Value
of Value.Type.STRING
from the specified String.Value newValue(byte value)
Value
of Value.Type.BYTE
from the specified byte value.Value newValue(short value)
Value
of Value.Type.SHORT
from the specified short value.Value newValue(int value)
Value
of Value.Type.INT
from the specified integer value.Value newValue(long value)
Value
of Value.Type.LONG
from the specified long value.Value newValue(float value)
Value
of Value.Type.FLOAT
from the specified float value.Value newValue(double value)
Value
of Value.Type.DOUBLE
from the specified double value.Value newValue(@API.NonNullable OTime value)
Value newValue(@API.NonNullable ODate value)
Value newValue(@API.NonNullable BigDecimal value)
Value newValue(@API.NonNullable OTimestamp value)
Value newValue(@API.NonNullable OInterval value)
Value newValue(@API.NonNullable ByteBuffer value)
Value newValue(@API.NonNullable byte[] value)
Value
of Value.Type.BINARY
from the specified byte array.Value newValue(@API.NonNullable List<? extends Object> list)
Value newValue(@API.NonNullable Map<String,? extends Object> map)
Copyright © 2015–2019 MapR Technologies, Inc.. All rights reserved.