| Package | Description |
|---|---|
| org.apache.hudi.internal.schema.action | |
| org.apache.hudi.internal.schema.utils |
| Modifier and Type | Method and Description |
|---|---|
static TableChanges.ColumnUpdateChange |
TableChanges.ColumnUpdateChange.get(InternalSchema schema) |
static TableChanges.ColumnUpdateChange |
TableChanges.ColumnUpdateChange.get(InternalSchema schema,
boolean caseSensitive) |
TableChanges.ColumnUpdateChange |
TableChanges.ColumnUpdateChange.renameColumn(String name,
String newName)
Rename a column in the schema.
|
TableChanges.ColumnUpdateChange |
TableChanges.ColumnUpdateChange.updateColumnComment(String name,
String newDoc)
Update a column doc in the schema to a new primitive type.
|
TableChanges.ColumnUpdateChange |
TableChanges.ColumnUpdateChange.updateColumnNullability(String name,
boolean nullable)
Update nullable for column.
|
TableChanges.ColumnUpdateChange |
TableChanges.ColumnUpdateChange.updateColumnNullability(String name,
boolean nullable,
boolean force) |
TableChanges.ColumnUpdateChange |
TableChanges.ColumnUpdateChange.updateColumnType(String name,
Type newType)
Update a column in the schema to a new type.
|
| Modifier and Type | Method and Description |
|---|---|
static InternalSchema |
SchemaChangeUtils.applyTableChanges2Schema(InternalSchema internalSchema,
TableChanges.ColumnUpdateChange updates)
Apply all the DDL update operations to internalSchema to produce a new internalSchema.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.