Class SqlInsertFromFile
- java.lang.Object
-
- org.apache.calcite.sql.SqlNode
-
- org.apache.calcite.sql.SqlCall
-
- org.apache.pinot.sql.parsers.parser.SqlInsertFromFile
-
- All Implemented Interfaces:
Cloneable
public class SqlInsertFromFile extends org.apache.calcite.sql.SqlCallCalcite extension for creating an INSERT sql node from a File object.Syntax: INSERT INTO [db_name.]table_name FROM [ FILE | ARCHIVE ] 'file_uri' [, [ FILE | ARCHIVE ] 'file_uri' ]
-
-
Constructor Summary
Constructors Constructor Description SqlInsertFromFile(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier dbName, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList fileList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.calcite.sql.SqlNode>getOperandList()org.apache.calcite.sql.SqlOperatorgetOperator()voidunparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)-
Methods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
-
-
-
-
Method Detail
-
unparse
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)- Overrides:
unparsein classorg.apache.calcite.sql.SqlCall
-
getOperator
public org.apache.calcite.sql.SqlOperator getOperator()
- Specified by:
getOperatorin classorg.apache.calcite.sql.SqlCall
-
getOperandList
public List<org.apache.calcite.sql.SqlNode> getOperandList()
- Specified by:
getOperandListin classorg.apache.calcite.sql.SqlCall
-
-