| Modifier and Type | Class and Description |
|---|---|
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final ChangeSet | |
| private final Set | |
| private final List | |
| protected static ResourceBundle | |
| protected Database | |
| private static Method | |
| private static PreparedStatement | |
| private static String | |
| private final ResourceAccessor | |
| private final String | |
| private final Map | |
| private final String |
| Access | Constructor and Description |
|---|---|
| protected | ExecutablePreparedStatementBase(Database database, String catalogName, String schemaName, String tableName, List<? extends ColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | applyColumnParameter(PreparedStatement
the PreparedStatement whose parameter is to be set stmt, int the parameter index (first bind variable is 1) i, ColumnConfig a ColumnConfig with information about the column, its type, and the desired value col)Sets a single bind variable for a statement to its designated value |
| protected String | |
| protected void | attachParams(List<? extends ColumnConfig>
a list of columns with their designated values cols, PreparedStatement the PreparedStatement to which the values are to be attached stmt)Sets the list of bind variables for the execution of a DML statement |
| protected static InputStream | |
| public void | execute(PreparedStatementFactory
a factory for creating a factory)PreparedStatement object.Implements liquibase. Executes the prepared statement created by the given factory. |
| protected void | |
| protected abstract String | |
| protected PreparedStatement | |
| public String | |
| public ChangeSet | |
| public List | |
| protected long | |
| protected long | |
| private String | |
| public ResourceAccessor | |
| protected InputStream | |
| public String | |
| private Object | |
| public String | |
| private Object | |
| public boolean | |
| protected ExecutablePreparedStatementBase. | |
| protected ExecutablePreparedStatementBase. |
| catalogName | back to summary |
|---|---|
| private final String catalogName | |
| changeSet | back to summary |
|---|---|
| private final ChangeSet changeSet | |
| closeables | back to summary |
|---|---|
| private final Set<Closeable> closeables | |
| columns | back to summary |
|---|---|
| private final List<? extends ColumnConfig> columns | |
| coreBundle | back to summary |
|---|---|
| protected static ResourceBundle coreBundle | |
| database | back to summary |
|---|---|
| protected Database database | |
| executeWithFlagsMethod | back to summary |
|---|---|
| private static Method executeWithFlagsMethod | |
| lastPreparedStatement | back to summary |
|---|---|
| private static PreparedStatement lastPreparedStatement | |
| lastPreparedStatementSql | back to summary |
|---|---|
| private static String lastPreparedStatementSql | |
| resourceAccessor | back to summary |
|---|---|
| private final ResourceAccessor resourceAccessor | |
| schemaName | back to summary |
|---|---|
| private final String schemaName | |
| snapshotScratchPad | back to summary |
|---|---|
| private final Map<String, Object> snapshotScratchPad | |
| tableName | back to summary |
|---|---|
| private final String tableName | |
| ExecutablePreparedStatementBase | back to summary |
|---|---|
| protected ExecutablePreparedStatementBase(Database database, String catalogName, String schemaName, String tableName, List<? extends ColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) | |
| applyColumnParameter | back to summary |
|---|---|
| protected void applyColumnParameter(PreparedStatement stmt, int i, ColumnConfig col) throws SQLException, DatabaseException Sets a single bind variable for a statement to its designated value
| |
| applyVisitors | back to summary |
|---|---|
| protected String applyVisitors(String sql, List<SqlVisitor> sqlVisitors) | |
| attachParams | back to summary |
|---|---|
| protected void attachParams(List<? extends ColumnConfig> cols, PreparedStatement stmt) throws SQLException, DatabaseException Sets the list of bind variables for the execution of a DML statement
| |
| createStream | back to summary |
|---|---|
| protected static InputStream createStream(InputStream in) | |
| execute | back to summary |
|---|---|
| public void execute(PreparedStatementFactory factory) throws DatabaseException Implements liquibase. Doc from liquibase. Executes the prepared statement created by the given factory.
| |
| executePreparedStatement | back to summary |
|---|---|
| protected void executePreparedStatement(PreparedStatement stmt) throws SQLException | |
| generateSql | back to summary |
|---|---|
| protected abstract String generateSql(List<ColumnConfig> cols) | |
| getCachedStatement | back to summary |
|---|---|
| protected PreparedStatement getCachedStatement(String sql) | |
| getCatalogName | back to summary |
|---|---|
| public String getCatalogName() | |
| getChangeSet | back to summary |
|---|---|
| public ChangeSet getChangeSet() | |
| getColumns | back to summary |
|---|---|
| public List | |
| getContentLength | back to summary |
|---|---|
| protected long getContentLength(InputStream in) throws IOException | |
| getContentLength | back to summary |
|---|---|
| protected long getContentLength(Reader reader) throws IOException | |
| getFileName | back to summary |
|---|---|
| private String getFileName(String fileName) | |
| getResourceAccessor | back to summary |
|---|---|
| public ResourceAccessor getResourceAccessor() | |
| getResourceAsStream | back to summary |
|---|---|
protected InputStream getResourceAsStream(String valueLobFile) throws IOException
| |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName() | |
| getScratchData | back to summary |
|---|---|
| private Object getScratchData(String key) | |
| getTableName | back to summary |
|---|---|
| public String getTableName() | |
| setScratchData | back to summary |
|---|---|
| private Object setScratchData(String key, Object data) | |
| skipOnUnsupported | back to summary |
|---|---|
| public boolean skipOnUnsupported() Implements liquibase.
| |
| toBinaryStream | back to summary |
|---|---|
protected ExecutablePreparedStatementBase.
| |
| toCharacterStream | back to summary |
|---|---|
protected ExecutablePreparedStatementBase.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final T | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public T | |
| public long |
| content | back to summary |
|---|---|
| private final T content | |
| length | back to summary |
|---|---|
| private final long length | |
| LOBContent | back to summary |
|---|---|
| public LOBContent(T content, long length) | |
| getContent | back to summary |
|---|---|
| public T getContent() | |
| getLength | back to summary |
|---|---|
| public long getLength() | |