Package org.apache.iceberg.data
Class GenericRecord
java.lang.Object
org.apache.iceberg.data.GenericRecord
- All Implemented Interfaces:
Record
,StructLike
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
static GenericRecord
static GenericRecord
create
(Types.StructType struct) boolean
get
(int pos) <T> T
int
hashCode()
<T> void
set
(int pos, T value) void
int
size()
struct()
toString()
-
Method Details
-
create
-
create
-
struct
-
getField
-
setField
-
size
public int size()- Specified by:
size
in interfaceStructLike
-
get
-
get
- Specified by:
get
in interfaceStructLike
-
set
public <T> void set(int pos, T value) - Specified by:
set
in interfaceStructLike
-
copy
-
copy
-
toString
-
equals
-
hashCode
public int hashCode()
-