Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor Class Reference

Inherits Default< Map< String, String > >.

Public Member Functions

Map< String, String > visit (File f)
 
Map< String, String > visit (DerivedFile df)
 
Map< String, String > visit (Directory d)
 
Map< String, String > visit (LocalDirectory ld)
 
Map< String, String > visit (LayoutFile lf)
 
Map< String, String > visit (LocalFile lf)
 
Map< String, String > visit (SlackFile f)
 
Map< String, String > visit (BlackboardArtifact artifact)
 
Map< String, String > visit (Report report)
 

Protected Member Functions

Map< String, String > defaultVisit (SleuthkitVisitableItem svi)
 

Private Member Functions

Map< String, String > getCommonAndMACTimeFields (AbstractFile file)
 
Map< String, String > getCommonFields (AbstractFile file)
 

Detailed Description

Visitor used to create fields to send to SOLR index.

Definition at line 282 of file Ingester.java.

Member Function Documentation

Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.defaultVisit ( SleuthkitVisitableItem  svi)
protected

Definition at line 285 of file Ingester.java.

Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.getCommonAndMACTimeFields ( AbstractFile  file)
private

Get the field map for AbstractFiles that includes MAC times and the fields that are common to all file classes.

Parameters
fileThe file to get fields for
Returns
The field map, including MAC times and common fields, for the give file.

Definition at line 334 of file Ingester.java.

References org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.getCommonFields(), and org.sleuthkit.autopsy.datamodel.ContentUtils.getStringTimeISO8601().

Referenced by org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit().

Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.getCommonFields ( AbstractFile  file)
private

Get the field map for AbstractFiles that is common to all file classes

Parameters
fileThe file to get fields for
Returns
The field map of fields that are common to all file classes.

Definition at line 351 of file Ingester.java.

Referenced by org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.getCommonAndMACTimeFields(), and org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit().

Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit ( File  f)
Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit ( DerivedFile  df)
Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit ( Directory  d)
Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit ( LocalDirectory  ld)
Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit ( LayoutFile  lf)
Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit ( LocalFile  lf)
Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit ( SlackFile  f)
Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit ( BlackboardArtifact  artifact)

Get the field map for artifacts.

Parameters
artifactThe artifact to get fields for.
Returns
The field map for the given artifact.

Definition at line 372 of file Ingester.java.

Map<String, String> org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.visit ( Report  report)

Get the field map for artifacts.

Parameters
reportThe report to get fields for.
Returns
The field map for the given report.

Definition at line 392 of file Ingester.java.


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

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