Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
TimelineDBUtils (SleuthkitCase sleuthkitCase) | |
String | csvAggFunction (String columnName) |
Static Public Member Functions | |
static< X > List< X > | unGroupConcat (String groupConcat, CheckedFunction< String, X, TskCoreException > mapper) throws TskCoreException |
Private Attributes | |
final SleuthkitCase | sleuthkitCase |
Utilities to help work with databases.
Definition at line 32 of file TimelineDBUtils.java.
org.sleuthkit.autopsy.timeline.utils.TimelineDBUtils.TimelineDBUtils | ( | SleuthkitCase | sleuthkitCase | ) |
Create a TimelineDBUtils for the givecn SleuthlitCase.
sleuthkitCase | The case to make utilities for. The type of the underlying database is used in the implementation of these utilities. |
Definition at line 43 of file TimelineDBUtils.java.
References org.sleuthkit.autopsy.timeline.utils.TimelineDBUtils.sleuthkitCase.
String org.sleuthkit.autopsy.timeline.utils.TimelineDBUtils.csvAggFunction | ( | String | columnName | ) |
Wrap the given columnName in the appropiate sql function to get a comma seperated list in the result.
columnName |
Definition at line 56 of file TimelineDBUtils.java.
|
static |
Take the result of a group_concat / string_agg sql operation and split it into a set of X using the mapper to convert from string to X. If groupConcat is empty, null, or all whitespace, returns an empty list.
<X> | the type of elements to return |
groupConcat | a string containing the group_concat result ( a comma separated list) |
mapper | a function from String to X |
org.sleuthkit.datamodel.TskCoreException | If the mapper throws a TskCoreException |
Definition at line 77 of file TimelineDBUtils.java.
|
private |
Definition at line 34 of file TimelineDBUtils.java.
Referenced by org.sleuthkit.autopsy.timeline.utils.TimelineDBUtils.TimelineDBUtils().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.