Package herddb.utils
Class AllNullsDataAccessor
- java.lang.Object
-
- herddb.utils.AbstractDataAccessor
-
- herddb.utils.AllNullsDataAccessor
-
- All Implemented Interfaces:
DataAccessor
public class AllNullsDataAccessor extends AbstractDataAccessor
A DataAccessor without values, only schema- Author:
- enrico.olivelli
-
-
Field Summary
-
Fields inherited from interface herddb.utils.DataAccessor
NULL
-
-
Constructor Summary
Constructors Constructor Description AllNullsDataAccessor(String[] fieldNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLRecordPredicateFunctions.CompareResultfieldCompareTo(int index, Object value)booleanfieldEqualsTo(int index, Object value)booleanfieldNotEqualsTo(int index, Object value)voidforEach(BiConsumer<String,Object> consumer)Objectget(int index)Objectget(String property)String[]getFieldNames()Object[]getValues()-
Methods inherited from class herddb.utils.AbstractDataAccessor
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface herddb.utils.DataAccessor
getNumFields, toMap
-
-
-
-
Constructor Detail
-
AllNullsDataAccessor
public AllNullsDataAccessor(String[] fieldNames)
-
-
Method Detail
-
getFieldNames
public String[] getFieldNames()
-
forEach
public void forEach(BiConsumer<String,Object> consumer)
-
get
public Object get(int index)
-
fieldEqualsTo
public boolean fieldEqualsTo(int index, Object value)
-
fieldNotEqualsTo
public boolean fieldNotEqualsTo(int index, Object value)
-
fieldCompareTo
public SQLRecordPredicateFunctions.CompareResult fieldCompareTo(int index, Object value)
-
getValues
public Object[] getValues()
-
-