Sleuth Kit Java Bindings (JNI)  4.3
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.SleuthkitCase.CaseDbQuery Class Reference

Inherits AutoCloseable.

Public Member Functions

void close () throws TskCoreException
ResultSet getResultSet ()

Private Member Functions

 CaseDbQuery (String query) throws TskCoreException

Private Attributes

CaseDbConnection connection
ResultSet resultSet

Detailed Description

The CaseDbQuery supports the use case where developers have a need for data that is not exposed through the SleuthkitCase API. A CaseDbQuery instance gets created through the SleuthkitCase executeDbQuery() method. It wraps the ResultSet and takes care of acquiring and releasing the appropriate database lock. It implements AutoCloseable so that it can be used in a try-with -resources block freeing developers from having to remember to close the result set and releasing the lock.

Definition at line 8073 of file

Constructor & Destructor Documentation

org.sleuthkit.datamodel.SleuthkitCase.CaseDbQuery.CaseDbQuery ( String  query) throws TskCoreException

Member Function Documentation

void org.sleuthkit.datamodel.SleuthkitCase.CaseDbQuery.close ( ) throws TskCoreException
ResultSet org.sleuthkit.datamodel.SleuthkitCase.CaseDbQuery.getResultSet ( )

Get the result set for this query.

The result set.

Definition at line 8102 of file

References org.sleuthkit.datamodel.SleuthkitCase.CaseDbQuery.resultSet.

Member Data Documentation

CaseDbConnection org.sleuthkit.datamodel.SleuthkitCase.CaseDbQuery.connection

Definition at line 8076 of file

ResultSet org.sleuthkit.datamodel.SleuthkitCase.CaseDbQuery.resultSet

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

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