ScriptCommand

This class represents the statement SCRIPT

Methods
static InputStream combineBlob(Connection conn, int id)
Combine a BLOB.
static InputStream combineBlob(Connection conn, int id) throws SQLException
Combine a BLOB. This method is called from the script. When calling with id -1, the file is deleted.
Parameters:
conn - a connection
id - the lob id
Returns:
a stream for the combined data
static Reader combineClob(Connection conn, int id)
Combine a CLOB.
static Reader combineClob(Connection conn, int id) throws SQLException
Combine a CLOB. This method is called from the script.
Parameters:
conn - a connection
id - the lob id
Returns:
a reader for the combined data
int getType()
int getType()
boolean isQuery()
boolean isQuery()
ResultInterface query(int maxrows)
ResultInterface query(int maxrows)
ResultInterface queryMeta()
ResultInterface queryMeta()
void setCharset(Charset charset)
void setCharset(Charset charset)
void setData(boolean data)
void setData(boolean data)
void setDrop(boolean drop)
void setDrop(boolean drop)
void setLobBlockSize(long blockSize)
void setLobBlockSize(long blockSize)
void setPasswords(boolean passwords)
void setPasswords(boolean passwords)
void setSchemaNames(Set schemaNames)
void setSchemaNames(Set schemaNames)
void setSettings(boolean settings)
void setSettings(boolean settings)
void setSimple(boolean simple)
void setSimple(boolean simple)
void setTables(Collection tables)
void setTables(Collection tables)