Package org.apache.pinot.sql.parsers.dml
Class InsertIntoFile
- java.lang.Object
-
- org.apache.pinot.sql.parsers.dml.InsertIntoFile
-
- All Implemented Interfaces:
DataManipulationStatement
public class InsertIntoFile extends Object implements DataManipulationStatement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pinot.sql.parsers.dml.DataManipulationStatement
DataManipulationStatement.ExecutionType
-
-
Constructor Summary
Constructors Constructor Description InsertIntoFile(String table, Map<String,String> queryOptions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object[]>execute()Execute the statement and format response to response row format.AdhocTaskConfiggenerateAdhocTaskConfig()Generate minion task config for this statement.DataManipulationStatement.ExecutionTypegetExecutionType()The method to execute this Statement, e.g.Map<String,String>getQueryOptions()DataSchemagetResultSchema()StringgetTable()static InsertIntoFileparse(SqlNodeAndOptions sqlNodeAndOptions)
-
-
-
Method Detail
-
getTable
public String getTable()
-
parse
public static InsertIntoFile parse(SqlNodeAndOptions sqlNodeAndOptions)
-
getExecutionType
public DataManipulationStatement.ExecutionType getExecutionType()
Description copied from interface:DataManipulationStatementThe method to execute this Statement, e.g. MINION or HTTP.- Specified by:
getExecutionTypein interfaceDataManipulationStatement- Returns:
-
generateAdhocTaskConfig
public AdhocTaskConfig generateAdhocTaskConfig()
Description copied from interface:DataManipulationStatementGenerate minion task config for this statement.- Specified by:
generateAdhocTaskConfigin interfaceDataManipulationStatement- Returns:
- Adhoc minion task config
-
execute
public List<Object[]> execute()
Description copied from interface:DataManipulationStatementExecute the statement and format response to response row format. Not used for Minion ExecutionType.- Specified by:
executein interfaceDataManipulationStatement- Returns:
- Result rows
-
getResultSchema
public DataSchema getResultSchema()
- Specified by:
getResultSchemain interfaceDataManipulationStatement- Returns:
- Result schema for response
-
-