Package org.apache.iceberg.rest.requests
Class CreateTableRequest.Builder
- java.lang.Object
-
- org.apache.iceberg.rest.requests.CreateTableRequest.Builder
-
- Enclosing class:
- CreateTableRequest
public static class CreateTableRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTableRequest
build()
CreateTableRequest.Builder
setProperties(java.util.Map<java.lang.String,java.lang.String> props)
CreateTableRequest.Builder
setProperty(java.lang.String property, java.lang.String value)
CreateTableRequest.Builder
stageCreate()
CreateTableRequest.Builder
withLocation(java.lang.String newLocation)
CreateTableRequest.Builder
withName(java.lang.String tableName)
CreateTableRequest.Builder
withPartitionSpec(PartitionSpec tableSpec)
CreateTableRequest.Builder
withSchema(Schema tableSchema)
CreateTableRequest.Builder
withWriteOrder(SortOrder order)
-
-
-
Method Detail
-
withName
public CreateTableRequest.Builder withName(java.lang.String tableName)
-
withLocation
public CreateTableRequest.Builder withLocation(java.lang.String newLocation)
-
setProperty
public CreateTableRequest.Builder setProperty(java.lang.String property, java.lang.String value)
-
setProperties
public CreateTableRequest.Builder setProperties(java.util.Map<java.lang.String,java.lang.String> props)
-
withSchema
public CreateTableRequest.Builder withSchema(Schema tableSchema)
-
withPartitionSpec
public CreateTableRequest.Builder withPartitionSpec(PartitionSpec tableSpec)
-
withWriteOrder
public CreateTableRequest.Builder withWriteOrder(SortOrder order)
-
stageCreate
public CreateTableRequest.Builder stageCreate()
-
build
public CreateTableRequest build()
-
-