Sleuth Kit Java Bindings (JNI)  4.12.1
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement Class Reference

Inherits AutoCloseable.

Public Member Functions

void close () throws SQLException
 
void reset () throws TskCoreException
 
void setBoolean (int parameterIndex, boolean x) throws TskCoreException
 
void setByte (int parameterIndex, byte x) throws TskCoreException
 
void setDate (int parameterIndex, Date x) throws TskCoreException
 
void setDouble (int parameterIndex, double x) throws TskCoreException
 
void setInt (int parameterIndex, int x) throws TskCoreException
 
void setLong (int parameterIndex, long x) throws TskCoreException
 
void setObject (int parameterIndex, Object x) throws TskCoreException
 
void setString (int parameterIndex, String x) throws TskCoreException
 
void setTime (int parameterIndex, Time x) throws TskCoreException
 
void setTimestamp (int parameterIndex, Timestamp x) throws TskCoreException
 

Detailed Description

A wrapper around a PreparedStatement to execute queries against the database.

Definition at line 883 of file CaseDbAccessManager.java.

Member Function Documentation

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.close ( ) throws SQLException
void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.reset ( ) throws TskCoreException

Resets the parameters in the prepared statement.

Exceptions
TskCoreException

Definition at line 976 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setBoolean ( int  parameterIndex,
boolean  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 992 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setByte ( int  parameterIndex,
byte  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 1008 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setDate ( int  parameterIndex,
Date  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 1088 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setDouble ( int  parameterIndex,
double  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 1056 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setInt ( int  parameterIndex,
int  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 1024 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setLong ( int  parameterIndex,
long  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 1040 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setObject ( int  parameterIndex,
Object  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value. The sql type is determined in the same manner as java.sql.PreparedStatement.setObject.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 1138 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setString ( int  parameterIndex,
String  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 1072 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setTime ( int  parameterIndex,
Time  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 1104 of file CaseDbAccessManager.java.

void org.sleuthkit.datamodel.CaseDbAccessManager.CaseDbPreparedStatement.setTimestamp ( int  parameterIndex,
Timestamp  x 
) throws TskCoreException

Sets the value at the given parameter index to the given value.

Parameters
parameterIndexThe index.
xThe value to set at that index.
Exceptions
TskCoreException

Definition at line 1120 of file CaseDbAccessManager.java.


The documentation for this class was generated from the following file:

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.