public class SettableFloatColumnValueSelector extends Object implements SettableColumnValueSelector<Float>, FloatColumnSelector
EMPTY_ARRAY| Constructor and Description |
|---|
SettableFloatColumnValueSelector() |
| Modifier and Type | Method and Description |
|---|---|
float |
getFloat() |
boolean |
isNull()
Returns true if the primitive long, double, or float value returned by this selector should be treated as null.
|
void |
setValueFrom(ColumnValueSelector<?> selector) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinspectRuntimeShapeclassOfObject, getDouble, getLong, getObjectpublic void setValueFrom(ColumnValueSelector<?> selector)
setValueFrom in interface SettableColumnValueSelector<Float>public float getFloat()
getFloat in interface BaseFloatColumnValueSelectorpublic 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.