| Package | Description |
|---|---|
| org.apache.hudi.avro | |
| org.apache.hudi.common.model |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.generic.GenericRecord |
HoodieAvroUtils.addOperationToRecord(org.apache.avro.generic.GenericRecord record,
HoodieOperation operation) |
| Modifier and Type | Method and Description |
|---|---|
static HoodieOperation |
HoodieOperation.fromName(Option<String> nameOpt) |
static HoodieOperation |
HoodieOperation.fromName(String name) |
static HoodieOperation |
HoodieOperation.fromValue(byte value) |
HoodieOperation |
HoodieRecord.getOperation() |
static HoodieOperation |
HoodieOperation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HoodieOperation[] |
HoodieOperation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
HoodieOperation.isDelete(HoodieOperation operation)
Returns whether the operation is DELETE.
|
static boolean |
HoodieOperation.isInsert(HoodieOperation operation)
Returns whether the operation is INSERT.
|
static boolean |
HoodieOperation.isUpdateAfter(HoodieOperation operation)
Returns whether the operation is UPDATE_AFTER.
|
static boolean |
HoodieOperation.isUpdateBefore(HoodieOperation operation)
Returns whether the operation is UPDATE_BEFORE.
|
| Constructor and Description |
|---|
HoodieAvroRecord(HoodieKey key,
T data,
HoodieOperation operation) |
HoodieRecord(HoodieKey key,
T data,
HoodieOperation operation) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.