Class ResultsToTable
java.lang.Object
ca.phon.query.report.ResultsToTable
Methods for turning query results into tabular data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultTableDataSourcecreateResultTable(Project project, ResultSet[] results, boolean includeSessionInfo, boolean includeSpeakerInfo, boolean includeTierInfo, boolean includeMetadata, boolean ignoreDiacritics, boolean onlyOrExcept, Collection<Diacritic> selectedDiacritics) Turn multiple result sets for multiple sessions into a tablestatic DefaultTableDataSourcesetupTable(ResultSet[] results, boolean includeSessionInfo, boolean includeSpeakerInfo, boolean includeTierInfo, boolean includeMetadata) Setup result table with header based on parameters
-
Constructor Details
-
ResultsToTable
public ResultsToTable()
-
-
Method Details
-
createResultTable
public static DefaultTableDataSource createResultTable(Project project, ResultSet[] results, boolean includeSessionInfo, boolean includeSpeakerInfo, boolean includeTierInfo, boolean includeMetadata, boolean ignoreDiacritics, boolean onlyOrExcept, Collection<Diacritic> selectedDiacritics) Turn multiple result sets for multiple sessions into a table- Parameters:
project-results-includeSessionInfo-includeSpeakerInfo-includeTierInfo-includeMetadata-ignoreDiacritics-onlyOrExcept-selectedDiacritics-- Returns:
- table of results
-
setupTable
public static DefaultTableDataSource setupTable(ResultSet[] results, boolean includeSessionInfo, boolean includeSpeakerInfo, boolean includeTierInfo, boolean includeMetadata) Setup result table with header based on parameters- Parameters:
results-includeSessionInfo-includeSpeakerInfo-includeTierInfo-includeMetadata-- Returns:
- result table with header but no data
-