Class RecordImpl
- java.lang.Object
-
- com.redislabs.redisgraph.impl.resultset.RecordImpl
-
-
Constructor Summary
Constructors Constructor Description RecordImpl(List<String> header, List<Object> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsKey(String key)
Check if the record header contains the given keyboolean
equals(Object o)
String
getString(int index)
The value at the given field index (represented as String)String
getString(String key)
The value at the given field (represented as String)<T> T
getValue(int index)
The value at the given field index<T> T
getValue(String key)
The value at the given fieldint
hashCode()
List<String>
keys()
The keys of the recordint
size()
The number of fields in this recordString
toString()
List<Object>
values()
The values of the record
-
-
-
Method Detail
-
getValue
public <T> T getValue(int index)
Description copied from interface:Record
The value at the given field index
-
getValue
public <T> T getValue(String key)
Description copied from interface:Record
The value at the given field
-
getString
public String getString(int index)
Description copied from interface:Record
The value at the given field index (represented as String)
-
getString
public String getString(String key)
Description copied from interface:Record
The value at the given field (represented as String)
-
values
public List<Object> values()
Description copied from interface:Record
The values of the record
-
containsKey
public boolean containsKey(String key)
Description copied from interface:Record
Check if the record header contains the given key- Specified by:
containsKey
in interfaceRecord
- Parameters:
key
- header key- Returns:
true
if the the key exists
-
size
public int size()
Description copied from interface:Record
The number of fields in this record
-
-