public class SettableLongColumnValueSelector extends Object implements SettableColumnValueSelector<Long>, LongColumnSelector
EMPTY_ARRAY| Constructor and Description |
|---|
SettableLongColumnValueSelector() |
| Modifier and Type | Method and Description |
|---|---|
long |
getLong() |
boolean |
isNull()
Returns true if the primitive long, double, or float value returned by this selector should be treated as null.
|
void |
setValue(long value)
Optimized method for assigning timestamps, that are known to never be null
|
void |
setValueFrom(ColumnValueSelector<?> selector) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinspectRuntimeShapeclassOfObject, getDouble, getFloat, getObjectpublic void setValueFrom(ColumnValueSelector<?> selector)
setValueFrom in interface SettableColumnValueSelector<Long>public void setValue(long value)
public long getLong()
getLong in interface BaseLongColumnValueSelectorpublic boolean isNull()
BaseNullableColumnValueSelectorBaseLongColumnValueSelector.getLong(), BaseDoubleColumnValueSelector.getDouble()
and BaseFloatColumnValueSelector.getFloat() must check this method first, or else they may improperly
use placeholder values returned by the primitive get methods.
Users of BaseObjectColumnValueSelector.getObject() should not call this method. Instead, call "getObject"
and check if it is null.isNull in interface BaseNullableColumnValueSelectorCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.