public final class GenericRecord extends RecordBase implements Serializable
Record
data based on a GPUdb Type
specified at runtime. GPUdb functions that return non-dynamic data will use
generic records by default in the absence of a specified type descriptor or
known type.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 typeCopyright © 2017. All rights reserved.