APIdia Launch Partner
Top Inners Fields Constructors Methods
net.ucanaccess.jdbc

public abstract Class AbstractExecute

extends Object
Class Inheritance
Known Direct Subclasses
net.ucanaccess.jdbc.AbstractExecuteResultSet, net.ucanaccess.jdbc.Execute, net.ucanaccess.jdbc.ExecuteUpdate
Imports
io.github.spannm.jackcess.Table, net.ucanaccess.commands.DDLCommandEnlist, net.ucanaccess.converters.Metadata, .SQLConverter, .SQLConverter.DDLType, net.ucanaccess.exception.TableNotFoundException, .UcanaccessSQLException, net.ucanaccess.util.HibernateSupport, java.io.IOException, java.sql.*, java.util.Arrays, .Locale, .Objects, java.util.regex.Pattern

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static enum

Field Summary

Modifier and TypeField and Description
private int
private String[]
private AbstractExecute.CommandType
private int[]
private UcanaccessResultSet
private String
private UcanaccessStatement

Constructor Summary

AccessConstructor and Description
protected
protected
AbstractExecute(UcanaccessStatement statement, AbstractExecute.CommandType commandType, String sql, int autoGeneratedKeys, String[] columnNames, int[] indexes)

protected

Method Summary

Modifier and TypeMethod and Description
private Object
private boolean
private SQLException
private int
count(String tableName)

private Object
public Object
public abstract Object
protected int
protected String[]
protected AbstractExecute.CommandType
protected int[]
protected String
pack-priv ResultSet
pack-priv Statement
pack-priv void
pack-priv void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

autoGeneratedKeysback to summary
private int autoGeneratedKeys
columnNamesback to summary
private String[] columnNames
commandTypeback to summary
private AbstractExecute.CommandType commandType
indexesback to summary
private int[] indexes
resultSetback to summary
private UcanaccessResultSet resultSet
sqlback to summary
private String sql
statementback to summary
private UcanaccessStatement statement

Constructor Detail

AbstractExecuteback to summary
protected AbstractExecute(UcanaccessResultSet resultSet)
AbstractExecuteback to summary
protected AbstractExecute(UcanaccessStatement statement, AbstractExecute.CommandType commandType, String sql, int autoGeneratedKeys, String[] columnNames, int[] indexes)
AbstractExecuteback to summary
protected AbstractExecute(UcanaccessStatement statement)

Method Detail

addDdlCommandback to summary
private Object addDdlCommand() throws SQLException
checkDDLback to summary
private boolean checkDDL()
checkDdlExceptionback to summary
private SQLException checkDdlException()
Annotations
@SuppressWarnings:PMD.UnusedLocalVariable, try
countback to summary
private int count(String tableName) throws SQLException
Annotations
@SuppressWarnings:java:S2077
enableDisableback to summary
private Object enableDisable(SQLConverter.DDLType ddlType) throws SQLException, IOException
executeBaseback to summary
public Object executeBase() throws SQLException
executeWrappedback to summary
public abstract Object executeWrapped() throws SQLException
getAutoGeneratedKeysback to summary
protected int getAutoGeneratedKeys()
getColumnNamesback to summary
protected String[] getColumnNames()
getCommandTypeback to summary
protected AbstractExecute.CommandType getCommandType()
getIndexesback to summary
protected int[] getIndexes()
getSqlback to summary
protected String getSql()
getWrappedResultSetback to summary
pack-priv ResultSet getWrappedResultSet()
getWrappedStatementback to summary
pack-priv Statement getWrappedStatement()
setCommandTypeback to summary
pack-priv void setCommandType(AbstractExecute.CommandType commandType)
setStatementback to summary
pack-priv void setStatement(UcanaccessStatement statement)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
net.ucanaccess.jdbc back to summary

protected final Enum AbstractExecute.CommandType

extends Enum<AbstractExecute.CommandType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final AbstractExecute.CommandType
public static final AbstractExecute.CommandType
public static final AbstractExecute.CommandType
public static final AbstractExecute.CommandType
public static final AbstractExecute.CommandType
public static final AbstractExecute.CommandType
public static final AbstractExecute.CommandType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AbstractExecute.CommandType
public static AbstractExecute.CommandType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BATCHback to summary
public static final AbstractExecute.CommandType BATCH
NO_ARGUMENTSback to summary
public static final AbstractExecute.CommandType NO_ARGUMENTS
PREPARED_STATEMENTback to summary
public static final AbstractExecute.CommandType PREPARED_STATEMENT
UPDATABLE_RESULTSETback to summary
public static final AbstractExecute.CommandType UPDATABLE_RESULTSET
WITH_AUTO_GENERATED_KEYSback to summary
public static final AbstractExecute.CommandType WITH_AUTO_GENERATED_KEYS
WITH_COLUMNS_NAMEback to summary
public static final AbstractExecute.CommandType WITH_COLUMNS_NAME
WITH_INDEXESback to summary
public static final AbstractExecute.CommandType WITH_INDEXES

Constructor Detail

CommandTypeback to summary
private CommandType()

Method Detail

valueOfback to summary
public static AbstractExecute.CommandType valueOf(String name)
valuesback to summary
public static AbstractExecute.CommandType[] values()