Sleuth Kit Java Bindings (JNI)  4.8.0
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 ()
 

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 11833 of file SleuthkitCase.java.

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.

Returns
The result set.

Definition at line 11868 of file SleuthkitCase.java.


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

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