public final class GenericRecord extends RecordBase
Constructor and Description |
---|
GenericRecord(Type type)
Creates a new generic record based on the specified GPUdb
Type . |
Modifier and Type | Method and Description |
---|---|
Object |
get(int index)
Returns the value of the specified field.
|
Type |
getType()
Returns the GPUdb
Type of the record. |
void |
put(int index,
Object value)
Sets the value of the specified field.
|
public GenericRecord(Type type)
Type
.
Note that generic records can also be created using Type.newInstance()
.type
- the GPUdb typepublic Type getType()
Record
Type
of the record.public Object get(int index)
Record
index
- the index of the fieldCopyright © 2016. All rights reserved.