protected abstract ExternalTableSpec |
BaseInputSourceDefn.convertCompletedTable(ResolvedExternalTable table,
Map<String,Object> args,
List<ColumnSpec> columns) |
Complete a partial table using the table function arguments and columns provided.
|
protected ExternalTableSpec |
HttpInputSourceDefn.convertCompletedTable(ResolvedExternalTable table,
Map<String,Object> args,
List<ColumnSpec> columns) |
|
protected ExternalTableSpec |
InlineInputSourceDefn.convertCompletedTable(ResolvedExternalTable table,
Map<String,Object> args,
List<ColumnSpec> columns) |
|
protected ExternalTableSpec |
LocalInputSourceDefn.convertCompletedTable(ResolvedExternalTable table,
Map<String,Object> args,
List<ColumnSpec> columns) |
|
org.apache.druid.data.input.InputFormat |
InputFormatDefn.convertFromTable(ResolvedExternalTable table) |
Create an input format from a resolved catalog table spec.
|
org.apache.druid.data.input.InputFormat |
InputFormats.BaseFormatDefn.convertFromTable(ResolvedExternalTable table) |
|
org.apache.druid.data.input.InputFormat |
InputFormats.FlatTextFormatDefn.convertFromTable(ResolvedExternalTable table) |
|
protected ExternalTableSpec |
FormattedInputSourceDefn.convertPartialFormattedTable(ResolvedExternalTable table,
Map<String,Object> args,
List<ColumnSpec> columns,
Map<String,Object> sourceMap) |
Converted a formatted external table given the table definition, function
args, columns and the merged generic JSON map representing the input source.
|
ExternalTableSpec |
BaseInputSourceDefn.convertTable(ResolvedExternalTable table) |
|
ExternalTableSpec |
InputSourceDefn.convertTable(ResolvedExternalTable table) |
Convert a complete (that is, fully-defined) table spec to an external table spec.
|
ExternalTableSpec |
LocalInputSourceDefn.convertTable(ResolvedExternalTable table) |
|
protected abstract org.apache.druid.data.input.InputFormat |
BaseInputSourceDefn.convertTableToFormat(ResolvedExternalTable table) |
Convert the format spec, if any, to an input format.
|
protected org.apache.druid.data.input.InputFormat |
FormattedInputSourceDefn.convertTableToFormat(ResolvedExternalTable table) |
|
protected org.apache.druid.data.input.InputSource |
BaseInputSourceDefn.convertTableToSource(ResolvedExternalTable table) |
Converts the input source given in a table spec.
|
TableFunction |
HttpInputSourceDefn.partialTableFn(ResolvedExternalTable table) |
|
TableFunction |
InlineInputSourceDefn.partialTableFn(ResolvedExternalTable table) |
|
TableFunction |
InputSourceDefn.partialTableFn(ResolvedExternalTable table) |
Provide a definition for a SQL table function that completes a partial table
spec from the catalog.
|
TableFunction |
LocalInputSourceDefn.partialTableFn(ResolvedExternalTable table) |
|
protected List<ColumnSpec> |
BaseInputSourceDefn.selectPartialTableColumns(ResolvedExternalTable table,
List<ColumnSpec> columns) |
Choose table or SQL-provided columns: table takes precedence.
|
protected Map<String,Object> |
InputFormats.FlatTextFormatDefn.toMap(ResolvedExternalTable table) |
|
void |
BaseInputSourceDefn.validate(ResolvedExternalTable table) |
|
void |
FormattedInputSourceDefn.validate(ResolvedExternalTable table) |
|
void |
HttpInputSourceDefn.validate(ResolvedExternalTable table) |
|
void |
InlineInputSourceDefn.validate(ResolvedExternalTable table) |
|
void |
InputFormatDefn.validate(ResolvedExternalTable table) |
Given a resolved table that has the serialized JSON converted to a Java map,
validate the values of that map, typically by converting that map the target
input format object (after adjustments and filling in dummy columns.) THe
goal is to validate the information the user has provided in the table spec.
|
void |
InputFormats.BaseFormatDefn.validate(ResolvedExternalTable table) |
|
void |
InputFormats.FlatTextFormatDefn.validate(ResolvedExternalTable table) |
|
void |
InputSourceDefn.validate(ResolvedExternalTable table) |
Given a external table catalog spec, with the JSON input source and format
properties parsed to generic Java maps, validate that the properties are
valid prior to saving the spec into the catalog.
|
void |
LocalInputSourceDefn.validate(ResolvedExternalTable table) |
|