Package com.exasol.sql.dml.insert
Class Insert
- java.lang.Object
-
- com.exasol.sql.AbstractFragment
-
- com.exasol.sql.dml.insert.AbstractInsertValueTable<Insert>
-
- com.exasol.sql.dml.insert.Insert
-
- All Implemented Interfaces:
InsertFragment
,Fragment
,SqlStatement
public class Insert extends AbstractInsertValueTable<Insert> implements SqlStatement, InsertFragment
This class implements an SQLInsert
statement.
-
-
Field Summary
-
Fields inherited from class com.exasol.sql.dml.insert.AbstractInsertValueTable
insertFields, insertValueTable
-
Fields inherited from class com.exasol.sql.AbstractFragment
root
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(InsertVisitor visitor)
Accept a visitor (e.g.String
getTableName()
Get the name of the table into which data should be insertedprotected Insert
self()
Generic self pointer.-
Methods inherited from class com.exasol.sql.dml.insert.AbstractInsertValueTable
createInsertValueInstanceIfItDoesNotExist, field, hasFields, hasValues, valuePlaceholder, valuePlaceholders, values, values, values, valueTable
-
Methods inherited from class com.exasol.sql.AbstractFragment
getRoot
-
-
-
-
Method Detail
-
self
protected Insert self()
Description copied from class:AbstractInsertValueTable
Generic self pointer.- Specified by:
self
in classAbstractInsertValueTable<Insert>
- Returns:
- self pointer.
-
getTableName
public String getTableName()
Get the name of the table into which data should be inserted- Returns:
- table name
-
accept
public void accept(InsertVisitor visitor)
Description copied from interface:InsertFragment
Accept a visitor (e.g. a renderer or validator)- Specified by:
accept
in interfaceInsertFragment
- Parameters:
visitor
- visitor to accept
-
-