Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | List of all members
org.sleuthkit.autopsy.discovery.search.AbstractFilter Class Referenceabstract

Inherited by org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactDateRangeFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.ArtifactTypeFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.DataSourceFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.FileTypeFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.FrequencyFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.HashSetFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.InterestingFileSetFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.KeywordListFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.KnownAccountTypeFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.KnownFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.NotableFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.ObjectDetectionFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.PreviouslyNotableFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.ScoreFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.SizeFilter, org.sleuthkit.autopsy.discovery.search.SearchFiltering.TagsFilter, and org.sleuthkit.autopsy.discovery.search.SearchFiltering.UserCreatedFilter.

Public Member Functions

List< ResultapplyAlternateFilter (List< Result > currentResults, SleuthkitCase caseDb, CentralRepository centralRepoDb, SearchContext context) throws DiscoveryException, SearchCancellationException
 
abstract String getDesc ()
 
abstract String getWhereClause ()
 
boolean useAlternateFilter ()
 

Detailed Description

Base class for the filters.

Definition at line 29 of file AbstractFilter.java.

Member Function Documentation

List<Result> org.sleuthkit.autopsy.discovery.search.AbstractFilter.applyAlternateFilter ( List< Result currentResults,
SleuthkitCase  caseDb,
CentralRepository  centralRepoDb,
SearchContext  context 
) throws DiscoveryException, SearchCancellationException

Run a secondary filter that does not operate on table.

Parameters
currentResultsThe current list of matching results; empty if no filters have yet been run.
caseDbThe case database
centralRepoDbThe central repo database. Can be null if the filter does not require it.
contextThe SearchContext the search which is applying this filter is being performed from.
Returns
The list of results that match this filter (and any that came before it)
Exceptions
DiscoveryException
SearchCancellationExceptionThrown when the user has cancelled the search.

Definition at line 67 of file AbstractFilter.java.

abstract String org.sleuthkit.autopsy.discovery.search.AbstractFilter.getDesc ( )
abstract

Get a description of the selected filter.

Returns
A description of the filter
abstract String org.sleuthkit.autopsy.discovery.search.AbstractFilter.getWhereClause ( )
abstract

Returns part of a query on the table that can be AND-ed with other pieces

Returns
the SQL query or an empty string if there is no SQL query for this filter.
boolean org.sleuthkit.autopsy.discovery.search.AbstractFilter.useAlternateFilter ( )

Indicates whether this filter needs to use the secondary, non-SQL method applyAlternateFilter().

Returns
false by default

Definition at line 45 of file AbstractFilter.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Sat Sep 24 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.