Parameter directly.@Deprecated public class SettableValue extends Object
OutboundRow| Modifier and Type | Method and Description |
|---|---|
static SettableValue |
empty(Class<?> type)
Deprecated.
Creates a new empty
SettableValue for type. |
boolean |
equals(Object o)
Deprecated.
|
static SettableValue |
from(Object value)
Deprecated.
Creates a new
SettableValue from value. |
static SettableValue |
fromOrEmpty(Object value,
Class<?> type)
Deprecated.
|
static SettableValue |
fromParameter(Parameter parameter)
Deprecated.
Factory method to create a
SettableValue from Parameter. |
Class<?> |
getType()
Deprecated.
Returns the column value type.
|
Object |
getValue()
Deprecated.
Returns the column value.
|
int |
hashCode()
Deprecated.
|
boolean |
hasValue()
Deprecated.
Returns whether this
SettableValue has a value. |
boolean |
isEmpty()
Deprecated.
Returns whether this
SettableValue has a empty. |
Parameter |
toParameter()
Deprecated.
|
String |
toString()
Deprecated.
|
public static SettableValue from(Object value)
SettableValue from value.value - must not be null.SettableValue value for value.public static SettableValue fromOrEmpty(@Nullable Object value, Class<?> type)
value - can be null.type - must not be null.SettableValue value for value.public static SettableValue empty(Class<?> type)
SettableValue for type.SettableValue value for type.public static SettableValue fromParameter(Parameter parameter)
SettableValue from Parameter. Retains empty/type information.parameter - the parameter to create a SettableValue from.SettableValue from Parameter.@Nullable public Object getValue()
hasValue()public Class<?> getType()
value is null.public boolean hasValue()
SettableValue has a value.SettableValue has a value. false if getValue() is null.public boolean isEmpty()
SettableValue has a empty.SettableValue is empty. true if getValue() is null.Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.