Package org.apache.pinot.sql.parsers.dml
Interface DataManipulationStatement
-
- All Known Implementing Classes:
InsertIntoFile
public interface DataManipulationStatementDML Statement
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDataManipulationStatement.ExecutionTypeExecution method for this SQL statement.
-
Method Summary
All Methods Instance Methods Abstract 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.DataSchemagetResultSchema()
-
-
-
Method Detail
-
getExecutionType
DataManipulationStatement.ExecutionType getExecutionType()
The method to execute this Statement, e.g. MINION or HTTP.- Returns:
-
generateAdhocTaskConfig
AdhocTaskConfig generateAdhocTaskConfig()
Generate minion task config for this statement.- Returns:
- Adhoc minion task config
-
execute
List<Object[]> execute()
Execute the statement and format response to response row format. Not used for Minion ExecutionType.- Returns:
- Result rows
-
getResultSchema
DataSchema getResultSchema()
- Returns:
- Result schema for response
-
-