public static class WriteEntity.Builder extends Object
WriteEntity
. It follows builder
pattern, letting you build your WriteEntity
with whatever level of
detail you want.Constructor and Description |
---|
WriteEntity.Builder() |
Modifier and Type | Method and Description |
---|---|
WriteEntity |
build() |
WriteEntity.Builder |
withDatabase(String dbName) |
WriteEntity.Builder |
withPartition(Map<String,String> partKVs) |
WriteEntity.Builder |
withRegion(String region) |
WriteEntity.Builder |
withTable(String tblName) |
public WriteEntity.Builder withRegion(String region)
public WriteEntity.Builder withDatabase(String dbName)
public WriteEntity.Builder withTable(String tblName)
public WriteEntity.Builder withPartition(Map<String,String> partKVs)
public WriteEntity build()
Copyright © 2017 The Apache Software Foundation. All rights reserved.