com.gemstone.gemfire.cache.query.types
Interface StructType
- All Superinterfaces:
- DataSerializable, ObjectType, Serializable
public interface StructType
- extends ObjectType
Describes the field names and types for each field in a Struct.
- Since:
- 4.0
getFieldTypes
ObjectType[] getFieldTypes()
- The the types of the fields for this struct
- Returns:
- the array of Class for the fields
getFieldNames
String[] getFieldNames()
- Get the names of the fields for this struct
- Returns:
- the array of field names
getFieldIndex
int getFieldIndex(String fieldName)
- Returns the index of the field with the given name in this
StructType.
- Throws:
IllegalArgumentException - If this StructType does not contain a field
named fieldName.
Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.