Sleuth Kit Java Bindings (JNI)  4.11.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 858 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 951 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 967 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 983 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 1063 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 1031 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 999 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 1015 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 1113 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 1047 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 1079 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 1095 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.