|
GemFire 7.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Struct
An immutable and thread-safe data type used by the result of some
SELECT
queries. It allows
us to represent of "tuple" of values. It has a fixed number of
"fields", each of which has a name and a value. The names and
types of these fields are described by a StructType
.
SelectResults
Method Summary | |
---|---|
Object |
get(String fieldName)
Return the value associated with the given field name |
Object[] |
getFieldValues()
Get the values in this struct |
StructType |
getStructType()
Returns the StructType that describes the fields of
this Struct . |
Method Detail |
---|
Object get(String fieldName)
fieldName
- the String name of the field
IllegalArgumentException
- If this struct does not have a field named fieldNameStructType.getFieldIndex(java.lang.String)
Object[] getFieldValues()
StructType getStructType()
StructType
that describes the fields of
this Struct
.
|
GemFire 7.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |