@Beta public class ObjectMappedTableProperties extends Object
ObjectMappedTable
.Modifier and Type | Class and Description |
---|---|
static class |
ObjectMappedTableProperties.Builder
A Builder to construct properties for
ObjectMappedTable datasets. |
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_SCHEMA
The schema of objects in the table.
|
static String |
OBJECT_TYPE
The type of object in the table.
|
static String |
ROW_KEY_EXPLORE_NAME
The name of the Hive table column for the key of objects stored in the table.
|
static String |
ROW_KEY_EXPLORE_TYPE
The type of the Hive table column for the row key of objects stored in the table.
|
Constructor and Description |
---|
ObjectMappedTableProperties() |
Modifier and Type | Method and Description |
---|---|
static ObjectMappedTableProperties.Builder |
builder() |
static Schema |
getObjectSchema(Map<String,String> properties) |
static String |
getObjectTypeRepresentation(Map<String,String> properties) |
static String |
getRowKeyExploreName(Map<String,String> properties) |
static Schema.Type |
getRowKeyExploreType(Map<String,String> properties) |
public static final String OBJECT_TYPE
public static final String OBJECT_SCHEMA
public static final String ROW_KEY_EXPLORE_NAME
ObjectMappedTableProperties.Builder.setRowKeyExploreName(String)
for details.public static final String ROW_KEY_EXPLORE_TYPE
ObjectMappedTableProperties.Builder.setRowKeyExploreType(Schema.Type)
for details.public static ObjectMappedTableProperties.Builder builder()
public static String getObjectTypeRepresentation(Map<String,String> properties)
public static Schema getObjectSchema(Map<String,String> properties) throws IOException
IOException
public static String getRowKeyExploreName(Map<String,String> properties)
public static Schema.Type getRowKeyExploreType(Map<String,String> properties)
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.