io.jdbd.vendor.stmt.Stmt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdbd-vendor Show documentation
Show all versions of jdbd-vendor Show documentation
jdbd-vendor comment class for driver vendor if driver vendor need
package io.jdbd.vendor.stmt;
/**
*
* This interface representing object that wrap sql and parameter and option(eg: timeout).
* The implementation of this interface is used by the implementation of {@link io.jdbd.statement.Statement}
*
*
* This interface is a base interface of :
*
* - {@link StaticStmt}
* - {@link StaticBatchStmt}
* - {@link ParamStmt}
* - {@link ParamBatchStmt}
* - {@link ParamMultiStmt}
*
*
* @since 1.0
*/
public interface Stmt extends StmtOption {
/**
* this instance whether is created {@link io.jdbd.session.DatabaseSession} or not.
*
* @return false : {@link #databaseSession()} always throw {@link UnsupportedOperationException}
*/
boolean isSessionCreated();
}