/** * <p> * Name of the table. For Hive compatibility, this is folded to lowercase when it is stored. * </p> * * @param name * Name of the table. For Hive compatibility, this is folded to lowercase when it is stored. * @return Returns a reference to this object so that method calls can be chained together. */ public TableInput withName(String name) { setName(name); return this; }
public static TableInput convertTable(Table table) { TableInput input = new TableInput(); input.setName(table.getTableName()); input.setOwner(table.getOwner()); input.setTableType(table.getTableType()); input.setStorageDescriptor(convertStorage(table.getStorage(), table.getDataColumns())); input.setPartitionKeys(table.getPartitionColumns().stream().map(GlueInputConverter::convertColumn).collect(toList())); input.setParameters(table.getParameters()); table.getViewOriginalText().ifPresent(input::setViewOriginalText); table.getViewExpandedText().ifPresent(input::setViewExpandedText); return input; }
if (context.testExpression("Name", targetDepth)) { context.nextToken(); tableInput.setName(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * Name of the table. For Hive compatibility, this is folded to lowercase when it is stored. * </p> * * @param name * Name of the table. For Hive compatibility, this is folded to lowercase when it is stored. * @return Returns a reference to this object so that method calls can be chained together. */ public TableInput withName(String name) { setName(name); return this; }
public static TableInput convertTable(Table table) { TableInput input = new TableInput(); input.setName(table.getTableName()); input.setOwner(table.getOwner()); input.setTableType(table.getTableType()); input.setStorageDescriptor(convertStorage(table.getStorage(), table.getDataColumns())); input.setPartitionKeys(table.getPartitionColumns().stream().map(GlueInputConverter::convertColumn).collect(toList())); input.setParameters(table.getParameters()); table.getViewOriginalText().ifPresent(input::setViewOriginalText); table.getViewExpandedText().ifPresent(input::setViewExpandedText); return input; }
if (context.testExpression("Name", targetDepth)) { context.nextToken(); tableInput.setName(context.getUnmarshaller(String.class).unmarshall(context));