Index
All Classes|All Packages
A
- addDataListener(IDataConsumer) - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
This method should register a consumer with a supplier for push data.
- addDataListener(IDataConsumer) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Register for data pushes.
- addProperties(String) - Method in class io.github.ajevans.dbcode.utilities.PropertiesSingleton
-
Add a file of properties to the singleton.
- addRecord(IRecord) - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should add a single
IRecord
to the end of the holder. - addRecord(IRecord) - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Add a single
IRecord
to the end of the container. - addRecordHolder(IRecordHolder) - Method in interface io.github.ajevans.dbcode.data.structures.IDataset
-
Should add a single
RecordHolder
to the end of the container. - addRecordHolder(IRecordHolder) - Method in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Add a single
IRecordHolder
to the end of the container. - addRecordHolders(ArrayList<IRecordHolder>) - Method in interface io.github.ajevans.dbcode.data.structures.IDataset
-
Should add a collection of
IRecordHolder
objects to the end of the container. - addRecordHolders(ArrayList<IRecordHolder>) - Method in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Add a collection of
IRecordHolder
objects to the end of the container. - addRecords(ArrayList<IRecord>) - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should add a collection of
IRecord
objects to the end of the container. - addRecords(ArrayList<IRecord>) - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Add a set of
IRecord
objects to the end of the container. - addReportingListener(IReportingListener) - Method in interface io.github.ajevans.dbcode.data.io.IDataConsumer
-
For objects wishing to get progress reports on data reading.
- addReportingListener(IReportingListener) - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
For objects wishing to get progress reports on data reading.
- addReportingListener(IReportingListener) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
For objects wishing to get progress reports on data reading.
- addReportingListener(IReportingListener) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
For objects wishing to get progress reports on data reading.
- addReportingListener(IReportingListener) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
For objects wishing to get progress reports on data reading.
- addReportingListener(IReportingListener) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.For objects wishing to get progress reports on data reading.
- addValue(Object) - Method in interface io.github.ajevans.dbcode.data.structures.IRecord
-
Should add a single data value to end of record.
- addValue(Object) - Method in class io.github.ajevans.dbcode.data.structures.Row
-
Add a single value to end of row.
- alert(String) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Pops up an error message.
B
- buffer - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Main file connection.
- bufferedWriter - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Connects to files at various times.
- buildFile(IDataset, int) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Sets up the relevant file.
- buildFile(IDataset, int) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Sets up the relevant file.
- buildGUI(Stage) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Builds and displays the GUI.
- buildMetadataFile(IMetadata, String) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Sets up a metadata file for each record holder file.
- buildMetadataFile(IMetadata, String) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Sets up a metadata MapFile for each record holder file.
- buildMetadataTable(IMetadata, String) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Sets up a metadata table for each table.
- buildTable(IDataset, int) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Sets up the relevant database table.
- bulkLoad(IDataset) - Method in interface io.github.ajevans.dbcode.data.io.IDataConsumer
-
Method should load a whole dataset into current store.
- bulkLoad(IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
This method bulk-loads a whole dataset into the database the quickest (but memory hungry) way possible - via a CSV file.
- bulkLoad(IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
This method bulk-loads a whole dataset into one or more files.
- bulkLoad(IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
This method bulk-loads a whole dataset into one or more files.
C
- call() - Method in class io.github.ajevans.dbcode.data.io.DataLinker
-
Main method called by thread running system.
- changed(ObservableValue<? extends Throwable>, Throwable, Throwable) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx.ExceptionHandler
- chunkRecordsBy - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Deprecated.
- conf - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Configuration.
- connection - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Connection for SQL requests.
- connectSource(int) - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
Should connect to a record holder (e.g.
- connectSource(int) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Connects to a record holder (e.g.
- connectStore() - Method in interface io.github.ajevans.dbcode.data.io.IDataConsumer
-
Should connect to current store.
- connectStore() - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Connects to current store / database.
- connectStore() - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Creates data directory and directory it is in if missing.
- connectStore() - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Creates data directory and directory it is in if missing, and calls HDFS.
- consumer - Variable in class io.github.ajevans.dbcode.data.io.DataLinker
-
The data consumer to link.
- consumer - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx.MenuHandler
-
Data consumer to use.
- CREATE_SMT - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Constant for sql statement running.
- creator - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
DCMI creator.
- CruTs2pt1Supplier - Class in io.github.ajevans.dbcode.filesuppliers
-
Deprecated.This data has been superseded (see this page), and it's therefore likely this class will be removed at some point.
- CruTs2pt1Supplier() - Constructor for class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Generic constructor.
- currentConsumer - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Objects currently chosen on the output menu.
D
- dataConsumers - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Objects that can consume data - loaded at runtime from .properties file.
- dataConsumersText - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Text for menu items about objects that can consumer data - loaded from .properties file.
- DataException - Exception in io.github.ajevans.dbcode.data.io
-
Generic superclass for data related exceptions.
- DataException() - Constructor for exception io.github.ajevans.dbcode.data.io.DataException
-
Generic constructor.
- DataException(String) - Constructor for exception io.github.ajevans.dbcode.data.io.DataException
-
Constructor for setting message.
- dataLinker - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx.ExceptionHandler
-
Task used in processing.
- DataLinker - Class in io.github.ajevans.dbcode.data.io
-
Connects an
IDataSupplier
to anIDataConsumer
. - DataLinker() - Constructor for class io.github.ajevans.dbcode.data.io.DataLinker
-
Generic constructor, private to prevent use in instantiation.
- DataLinker(IDataSupplier, IDataConsumer) - Constructor for class io.github.ajevans.dbcode.data.io.DataLinker
-
Constructor to link
IDataSupplier
andIDataConsumer
. - datasetMetadata - Variable in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Metadata for the tabulated dataset.
- dataSuppliers - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Objects that can supply data - loaded at runtime from .properties file.
- dataSuppliersText - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Text for menu items about objects that can supply data - loaded from .properties file.
- dataTokenWidth - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Width of a data column in width-delimited data.
- dateFormat - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
Date format, incase there is doubt about when zero date represents.
- dateLastEdited - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
For last edited date.
- dateSubmitted - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
DCMI dateSubmitted.
- DBCreationException - Exception in io.github.ajevans.dbcode.dbconsumers
-
Generic exception for the database connectors in this package.
- DBCreationException() - Constructor for exception io.github.ajevans.dbcode.dbconsumers.DBCreationException
-
Generic constructor.
- DBCreationException(String) - Constructor for exception io.github.ajevans.dbcode.dbconsumers.DBCreationException
-
Constructor for setting message.
- DBExamples - Class in io.github.ajevans.dbcode.dbexamples
-
Main class for starting application.
- DBExamples() - Constructor for class io.github.ajevans.dbcode.dbexamples.DBExamples
-
Unused default constructor.
- debug - Variable in class io.github.ajevans.dbcode.data.io.DataLinker
-
Debugging flag, set by System variable passed in
-Ddebug=true
rather than setting here / with accessor. - debug - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
Debugging flag, set by System variable passed in
-Ddebug=true
rather than setting here / with accessor. - debug - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Debugging flag, set by System variable passed in
-Ddebug=true
rather than setting here / with accessor. - debug - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Debugging flag, set by System variable passed in
-Ddebug=true
rather than setting here / with accessor. - debug - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Debugging flag, set by System variable passed in
-Ddebug=true
rather than setting here / with accessor. - debug - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Debugging flag, set by System variable passed in at command line:
- debug - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Debugging flag, set by System variable passed in
-Ddebug=true
rather than setting here / with accessor. - debugMode - Static variable in class io.github.ajevans.dbcode.utilities.DebugMode
-
Debug mode.
- DebugMode - Class in io.github.ajevans.dbcode.utilities
-
Utility class for getting the system property "debug" set at the command line.
- DebugMode() - Constructor for class io.github.ajevans.dbcode.utilities.DebugMode
-
Default constructor set to private to prevent instantiation.
- decrementVersion() - Method in class io.github.ajevans.dbcode.data.structures.Row
-
Decrement the row version number in metadata.
- DEF_DB_DIR - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Default directory to create within store.
- DEF_DB_DIR - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Default directory to create within store.
- DEF_FILE_DIR - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Default directory for temp files.
- DEF_FILE_DIR - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Default directory to create within store.
- DerbyConsumer - Class in io.github.ajevans.dbcode.dbconsumers
-
Class for connecting to and manipulating a Derby database.
- DerbyConsumer() - Constructor for class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Default constructor.
- disconnectSource() - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
Should disconnect from current source and any files.
- disconnectSource() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Disconnects from current source and any file.
- disconnectStore() - Method in interface io.github.ajevans.dbcode.data.io.IDataConsumer
-
Should disconnect from current store and, if present, record stores.
- disconnectStore() - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Disconnects from current store / database and garbage collects.
- disconnectStore() - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Unused for this IConsumer type.
- disconnectStore() - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Disconnects from current store / database and garbage collects.
E
- endYear - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.As the data isn't marked up for date beyond info in the header.
- estimatedRecordCount - Variable in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Total records held - or to be held - in this dataset.
- estimateRecordCount(int) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.This estimates the records in the file.
- ExceptionHandler() - Constructor for class io.github.ajevans.dbcode.dbexamples.UIfx.ExceptionHandler
F
- fieldMissingDataFlags - Variable in class io.github.ajevans.dbcode.data.structures.Table
-
Missing data flags/values for the IRecord objects.
- fieldNames - Variable in class io.github.ajevans.dbcode.data.structures.Table
-
Field names for the values in the IRecord objects.
- fieldNames - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Output field names for this file type.
- fieldTypes - Variable in class io.github.ajevans.dbcode.data.structures.Table
-
Field types for the values in the IRecord objects.
- fieldTypes - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Output field classes for this file type.
- fileExtension - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Extension for files.
- fileSystem - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
HDFS.
- findTitle(IMetadata) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Finds the title category in an unknown IMetadata object.
- findTitle(IMetadata) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Finds the title category in an unknown IMetadata object.
- findTitle(IMetadata) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Finds the title category in an unknown IMetadata object.
- FlatFileConsumer - Class in io.github.ajevans.dbcode.dbconsumers
-
Class for writing out flat files to a directory.
- FlatFileConsumer() - Constructor for class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Default constructor.
- FlatFileCreationException - Exception in io.github.ajevans.dbcode.dbconsumers
-
Generic exception for the flat file connectors in this package.
- FlatFileCreationException() - Constructor for exception io.github.ajevans.dbcode.dbconsumers.FlatFileCreationException
-
Generic constructor.
- FlatFileCreationException(String) - Constructor for exception io.github.ajevans.dbcode.dbconsumers.FlatFileCreationException
-
Constructor for setting message.
G
- gapFillLocalisedGUIText() - Method in class io.github.ajevans.dbcode.data.io.DataLinker
-
Sets the defaults for warnings and exceptions in English if an appropriate language properties file is missing.
- gapFillLocalisedGUIText() - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Sets the defaults for warnings and exceptions in English if an appropriate language properties file is missing.
- gapFillLocalisedGUIText() - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Sets the defaults for warnings and exceptions in English if an appropriate language properties file is missing.
- gapFillLocalisedGUIText() - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Sets the defaults for warnings and exceptions in English if an appropriate language properties file is missing.
- gapFillLocalisedGUIText() - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Sets the defaults for GUI, warnings, and exceptions in English if an appropriate language properties file is missing.
- gapFillLocalisedGUIText() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Sets the defaults for warnings and exceptions in English if an appropriate language properties file is missing.
- getAll() - Method in interface io.github.ajevans.dbcode.data.structures.IMetadata
-
Should get the metadata as an array of
ArrayLists
. - getAll() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets the metadata as an array of
ArrayLists
. - getClassByName(String) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Instantiates objects by class name.
- getCreator() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets creator.
- getDataProcessors(String) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Loads the classes and menu text for available data suppliers and consumers.
- getDataset() - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
Should get the dataset, which may or may not be empty.
- getDataset() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Gets the dataset.
- getDateFormat() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets dateFormat.
- getDateLastEdited() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets dateLastEdited.
- getDateSubmitted() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets dateSubmitted.
- getDebugMode() - Static method in class io.github.ajevans.dbcode.utilities.DebugMode
-
Static method for getting the debug mode.
- getEstimatedRecordCount() - Method in interface io.github.ajevans.dbcode.data.structures.IDataset
-
Should get the total records held - or to be held - in this dataset.
- getEstimatedRecordCount() - Method in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Gets the total records held - or to be held - in this dataset.
- getFieldMissingDataFlags() - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Gets the field missing data flags for this table.
- getFieldNames() - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should get the field names for this
RecordHolder
. - getFieldNames() - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Gets the field names for this table.
- getFieldNames() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Gets the names of fields.
- getFieldTypes() - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should get the field types for this
RecordHolder
. - getFieldTypes() - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Gets the field types for this table.
- getFieldTypes() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Gets the type of fields.
- getInstance() - Static method in class io.github.ajevans.dbcode.utilities.PropertiesSingleton
-
Method to get instance in line with singleton pattern.
- getLocalisedGUIText() - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Localization for GUI elements.
- getMessage() - Method in exception io.github.ajevans.dbcode.data.io.DataException
-
Accessor for message.
- getMessage() - Method in exception io.github.ajevans.dbcode.dbconsumers.DBCreationException
-
Accessor for message.
- getMessage() - Method in exception io.github.ajevans.dbcode.dbconsumers.FlatFileCreationException
-
Accessor for message.
- getMessage() - Method in exception io.github.ajevans.dbcode.filesuppliers.ParseFailedException
-
Accessor for message.
- getMetadata() - Method in interface io.github.ajevans.dbcode.data.structures.IDataset
-
Should get the metadata for this
IDataset
. - getMetadata() - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should get the metadata for this
RecordHolder
. - getMetadata() - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Gets the metadata for this table.
- getMetadata() - Method in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Gets the metadata for this dataset.
- getNotes() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets notes.
- getParentDataset() - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should return the dataset this
RecordHolder
is part of, or null if none. - getParentDataset() - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Returns the dataset this table is part of.
- getParentRecordHolder() - Method in interface io.github.ajevans.dbcode.data.structures.IRecord
-
Should return the record holder this record is part of, or null if none.
- getParentRecordHolder() - Method in class io.github.ajevans.dbcode.data.structures.Row
-
Returns the record holder this row is part of.
- getParsedDataBlockAsRows(Table) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Reads a data block and turns it into records.
- getRecord(int) - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should get a single
IRecord
at an index. - getRecord(int) - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Get a single
IRecord
at an index. - getRecordHolder(int) - Method in interface io.github.ajevans.dbcode.data.structures.IDataset
-
Should get a single
RecordHolder
at an index. - getRecordHolder(int) - Method in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Get a single
IRecordHolder
at an index. - getRecordHolderNames() - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
Should gets the names of source record holders to read.
- getRecordHolderNames() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Gets the names of files to read.
- getRecordHolders() - Method in interface io.github.ajevans.dbcode.data.structures.IDataset
-
Should get all
RecordHolder
objects. - getRecordHolders() - Method in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Get all
IRecordHolder
objects. - getRecords() - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should get all
IRecord
objects. - getRecords() - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Get all
IRecords
. - getRecordStoreNames() - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Gets the record store names.
- getRecordStoreNames() - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Gets the record store names.
- getSource() - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
Should gets the source that will be read.
- getSource() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets source.
- getSource() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Gets the source file.
- getStandard() - Method in interface io.github.ajevans.dbcode.data.structures.IMetadata
-
Gets metadata standard or equivalent description.
- getStandard() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets metadata standard.
- getStore() - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Gets the location for the store / database.
- getStore() - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Gets the location for the store / database.
- getTitle() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets title.
- getValue(int) - Method in interface io.github.ajevans.dbcode.data.structures.IRecord
-
Should get a single value at an index.
- getValue(int) - Method in class io.github.ajevans.dbcode.data.structures.Row
-
Get a single value at an index.
- getValues() - Method in interface io.github.ajevans.dbcode.data.structures.IRecord
-
Should get all values.
- getValues() - Method in class io.github.ajevans.dbcode.data.structures.Row
-
Get all values.
- getVersion() - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Gets version.
- getVersion() - Method in class io.github.ajevans.dbcode.data.structures.Row
-
Get the row version number.
H
- HadoopConsumer - Class in io.github.ajevans.dbcode.dbconsumers
-
Class for writing out files to a Hadoop Distributed File System (HDFS).
- HadoopConsumer() - Constructor for class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Default constructor.
- handle(ActionEvent) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx.MenuHandler
-
Handles menu events.
I
- IDataConsumer - Interface in io.github.ajevans.dbcode.data.io
-
Interface for classes that store data.
- IDataset - Interface in io.github.ajevans.dbcode.data.structures
-
Interface for classes that will contain one or more indexed objects implementing
IRecordHolder
. - IDataSupplier - Interface in io.github.ajevans.dbcode.data.io
-
Interface for classes that supply data.
- IMetadata - Interface in io.github.ajevans.dbcode.data.structures
-
Minimal interface for metadata objects.
- incrementVersion() - Method in class io.github.ajevans.dbcode.data.structures.Row
-
Increment the row version number in metadata.
- initialise() - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
Should set up the data supplier ready to read data.
- initialise() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Sets up the data supplier ready to read data.
- initialise(IDataset) - Method in interface io.github.ajevans.dbcode.data.io.IDataConsumer
-
Sets up the data store.
- initialise(IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Sets up the data store (database and tables).
- initialise(IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Sets up the data store (directory and files).
- initialise(IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Sets up the data store (directory and files).
- initialiseFields() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Sets up the fields for this data type.
- INSERT_SMT - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Constant for sql statement running.
- instance - Static variable in class io.github.ajevans.dbcode.utilities.PropertiesSingleton
-
Lazy initialization instance object.
- io.github.ajevans.dbcode.data.io - package io.github.ajevans.dbcode.data.io
-
Provides the interfaces and classes for links between abstract data suppliers and consumers.
- io.github.ajevans.dbcode.data.structures - package io.github.ajevans.dbcode.data.structures
-
Provides the interfaces and classes for transferable data structures.
- io.github.ajevans.dbcode.dbconsumers - package io.github.ajevans.dbcode.dbconsumers
-
Provides the classes necessary to write to various database / file system types.
- io.github.ajevans.dbcode.dbexamples - package io.github.ajevans.dbcode.dbexamples
-
Provides the classes necessary to create an application showing database access and manipulation; these are the main application starting classes.
- io.github.ajevans.dbcode.filesuppliers - package io.github.ajevans.dbcode.filesuppliers
-
Provides the classes for parsing different data file types.
- io.github.ajevans.dbcode.utilities - package io.github.ajevans.dbcode.utilities
-
Provides various utilities.
- IRecord - Interface in io.github.ajevans.dbcode.data.structures
-
Interface for records containing one or more indexed values.
- IRecordHolder - Interface in io.github.ajevans.dbcode.data.structures
-
Interface for a container for one or more indexed records implementing
IRecord
. - IReportingListener - Interface in io.github.ajevans.dbcode.utilities
-
Simple interface for classes wishing to listen to the progress of data supply or consumption.
L
- listeners - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Register for data consumers wishing to listen for pushed data.
- load(IDataset) - Method in interface io.github.ajevans.dbcode.data.io.IDataConsumer
-
Deprecated.This would usually be a synonym for
bulkLoad
but is demanded as some stores may have need for alternative loading routes dependent on e.g. file size (though seeload(ArrayList<IRecord> records)
). - load(IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Deprecated.This method adds a whole dataset, using INSERT to add a record at a time. While it chunks the dataset into blocks to reduce memory use on the database side, it is still memory heavy and an order of magnitude slower than
bulkLoad
. - load(IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Deprecated.Only here to satisfy deprecated interface demands conditional on other classes. Redirects to bulkLoad.
- load(IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Deprecated.Only here to satisfy deprecated interface demands conditional on other classes. Redirects to bulkLoad.
- load(ArrayList<IRecord>) - Method in interface io.github.ajevans.dbcode.data.io.IDataConsumer
-
Appends set of records to current store.
- load(ArrayList<IRecord>) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Adds multiple records to current database.
- load(ArrayList<IRecord>) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Adds multiple records to current store.
- load(ArrayList<IRecord>) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Adds multiple records to current store.
- locale - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Locale, read from application.properties.
M
- main(String[]) - Static method in class io.github.ajevans.dbcode.dbexamples.DBExamples
-
Starts application.
- main(String[]) - Static method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Launches GUI.
- MEMORY_CHECK_MODE - Static variable in class io.github.ajevans.dbcode.data.io.DataLinker
-
Mode flag, used for setting the linker to the default mode where it checks memory against file sizes and decides how to handle data transfer.
- MenuHandler() - Constructor for class io.github.ajevans.dbcode.dbexamples.UIfx.MenuHandler
- message - Variable in exception io.github.ajevans.dbcode.data.io.DataException
-
Message outlining issue.
- message - Variable in exception io.github.ajevans.dbcode.dbconsumers.DBCreationException
-
Message explaining issue.
- message - Variable in exception io.github.ajevans.dbcode.dbconsumers.FlatFileCreationException
-
Message explaining issue.
- message - Variable in exception io.github.ajevans.dbcode.filesuppliers.ParseFailedException
-
Message explaining issue.
- metadata - Variable in class io.github.ajevans.dbcode.data.structures.Row
-
Metadata for the row.
- Metadata - Class in io.github.ajevans.dbcode.data.structures
-
Class for generic metadata (i.e.
- Metadata() - Constructor for class io.github.ajevans.dbcode.data.structures.Metadata
-
Generic constructor.
- METADATA_TABLE - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Constant proveLoaded.
- METADATA_TABLE - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Constant proveLoaded.
- metadataDatePattern - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Format for any dates in source header.
- mode - Variable in class io.github.ajevans.dbcode.data.io.DataLinker
-
The mode: PUSH_MODE; PULL_MODE; or the default MEMORY_CHECK_MODE.
N
- NORMAL_TABLE - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Constant proveLoaded.
- NORMAL_TABLE - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Constant proveLoaded.
- notes - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
For other notes.
- numberOfHeaderLines - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Number of lines to read for data source header.
O
- openFile(IDataSupplier) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Opens file-open dialog to choose input.
- outputDirectory - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Directory to write local results to.
- outputLabel - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx.MenuHandler
-
To display choice to user.
P
- parentDataset - Variable in class io.github.ajevans.dbcode.data.structures.Table
-
Parent container for the table.
- parentRecordHolder - Variable in class io.github.ajevans.dbcode.data.structures.Row
-
Parent container for the row.
- ParseFailedException - Exception in io.github.ajevans.dbcode.filesuppliers
-
Generic exception for the parsers in this package.
- ParseFailedException() - Constructor for exception io.github.ajevans.dbcode.filesuppliers.ParseFailedException
-
Generic constructor.
- ParseFailedException(String) - Constructor for exception io.github.ajevans.dbcode.filesuppliers.ParseFailedException
-
Constructor for setting message.
- parseHeader(int) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Parses the header of the data source.
- process() - Method in class io.github.ajevans.dbcode.data.io.DataLinker
-
Does the bulk of the processing.
- progress - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Used for progress monitoring.
- progress - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Used for progress monitoring.
- progress - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Used for progress monitoring.
- progress - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.For monitoring progress at reading.
- progressBar - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx.ExceptionHandler
-
GUI progress bar.
- progressBar - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Progressbar to listen to processing classes.
- propertiesFileLocation - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
File location for properties files in jar / install directories.
- PropertiesSingleton - Class in io.github.ajevans.dbcode.utilities
-
Singleton to hold all the properties files associated with an application.
- PropertiesSingleton() - Constructor for class io.github.ajevans.dbcode.utilities.PropertiesSingleton
-
Default constructor set to private in line with singleton pattern.
- proveLoaded(String, boolean) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Deprecated.Not needed for this class, but a convenient add-in for proving it works without the need for unit testing or database interrogation software.
- proveLoaded(String, boolean) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Deprecated.Not needed for this class, but a convenient add-in for proving it works without the need for unit testing or database interrogation software.
- PULL_MODE - Static variable in class io.github.ajevans.dbcode.data.io.DataLinker
-
Mode flag, used for forcing the linker into the faster but more memory-hungrey pull mode.
- pullDataAsOne() - Method in class io.github.ajevans.dbcode.data.io.DataLinker
-
Pulls the whole dataset from the
IDataSupplier
to theIDataConsumer
when read in. - PUSH_MODE - Static variable in class io.github.ajevans.dbcode.data.io.DataLinker
-
Mode flag, used for forcing the linker into the slower push mode.
- pushData() - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
This method should start the data supplier pushing collections of records to one or more registered consumers.
- pushData() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Pushes data to consumers registered as data listeners.
- pushDataAsRead() - Method in class io.github.ajevans.dbcode.data.io.DataLinker
-
Sets up an observer model so the
IDataSupplier
can push data to the observingIDataConsumer
piecemeal as read in.
R
- readData() - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
Should fill the dataset with data.
- readData() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Fills the dataset with data.
- readLines(int) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Reads a set of lines and returns them as an unparsed ArrayList of Strings.
- readTable(Table) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Fills a table with data.
- recordHolderNames - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Source filenames for reading.
- recordHolders - Variable in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
The
IRecordHolder
objects. - records - Variable in class io.github.ajevans.dbcode.data.structures.Table
-
The
IRecord
objects. - recordStoreNames - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Record store (table) names used.
- recordStoreNames - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Filenames used.
- recordStoreNames - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Filenames used.
- reportingListeners - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Listeners interested in updates on progress.
- reportingListeners - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Listeners interested in updates on progress.
- reportingListeners - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Listeners interested in updates on progress.
- reportingListeners - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Listeners interested in updates on progress.
- reportMessage(String) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Reports message to reportingListeners.
- reportMessage(String) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Reports message to reportingListeners.
- reportMessage(String) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Reports message to reportingListeners.
- reportMessage(String) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Reports message to reportingListeners.
- reportProgress(int, int) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Reports progress to reportingListeners.
- reportProgress(int, int) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Reports progress to reportingListeners.
- reportProgress(int, int) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Reports progress to reportingListeners.
- reportProgress(int, int) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Reports progress to reportingListeners.
- reportProgress(int, IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Reports progress to reportingListeners.
- reportProgress(int, IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Reports progress to reportingListeners.
- reportProgress(int, IDataset) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Reports progress to reportingListeners.
- reportProgress(int, IDataset) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Reports progress to reportingListeners.
- Row - Class in io.github.ajevans.dbcode.data.structures
-
Generic row class containing one or more value objects.
- Row() - Constructor for class io.github.ajevans.dbcode.data.structures.Row
-
Generic constructor made private to stop floating rows without a parent container.
- Row(IRecordHolder) - Constructor for class io.github.ajevans.dbcode.data.structures.Row
-
Constructor for rows with a parent container.
- runStatement(String, String, boolean) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Runs SQL statements and closes them.
S
- sanitise(String, int) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Sanitises Strings.
- sanitise(String, int) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Sanitise Strings.
- sanitise(String, int) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Sanitise Strings.
- SANITISE_DATA - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Constant for weak sanitisation to remove a few problematic chars.
- SANITISE_DATA - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Constant for weak sanitisation to remove a few problematic chars.
- SANITISE_DIRPATH - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Constant for aggresive sanitisation.
- SANITISE_DIRPATH - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Constant for aggresive sanitisation.
- SANITISE_FILENAME - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Constant for database object name sanitisation.
- SANITISE_FILENAME - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Constant for database object name sanitisation.
- SANITISE_NAME - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Constant for database object name sanitisation.
- SANITISE_VIGOROUS - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Constant for aggresive sanitisation.
- SANITISE_WEAK - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Constant for weak sanitisation to remove a few problematic chars.
- saveLog() - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Allows user to save screen to log file.
- saveLogMenuItem - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Menu item, here so can be enabled.
- setCreator(String) - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Sets creator.
- setCurrentConsumer(IDataConsumer) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Mutator for currently chosen consumer on "output" menu.
- setDateLastEdited(GregorianCalendar) - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Sets dateLastEdited.
- setDateSubmitted(GregorianCalendar) - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Sets dateSubmitted.
- setDebugMode(boolean) - Static method in class io.github.ajevans.dbcode.utilities.DebugMode
-
Mutator for debugMode.
- setDefaults(Properties) - Method in class io.github.ajevans.dbcode.utilities.PropertiesSingleton
-
Sets a default set of properties.
- setDirectory() - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Opens directory-open dialog to pick an output directory.
- setEstimatedRecordCount(int) - Method in interface io.github.ajevans.dbcode.data.structures.IDataset
-
Should set the total records held - or to be held - in this dataset.
- setEstimatedRecordCount(int) - Method in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Sets the total records held - or to be held - in this dataset.
- setFieldMissingDataFlags(ArrayList) - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Sets the field missing data flags for this table.
- setFieldNames(ArrayList<String>) - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should set the field names for this
RecordHolder
. - setFieldNames(ArrayList<String>) - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Sets the field names for this table.
- setFieldTypes(ArrayList<Class>) - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should set the field types for this
RecordHolder
. - setFieldTypes(ArrayList<Class>) - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Sets the field types for this table.
- setMetadata(IMetadata) - Method in interface io.github.ajevans.dbcode.data.structures.IDataset
-
Should set the metadata for this
IDataset
. - setMetadata(IMetadata) - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should set the metadata for this
RecordHolder
. - setMetadata(IMetadata) - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Sets the metadata for this table.
- setMetadata(IMetadata) - Method in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Sets the metadata for this dataset.
- setMode(int) - Method in class io.github.ajevans.dbcode.data.io.DataLinker
-
Sets the datalinker mode.
- setNotes(String) - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Sets notes.
- setRecord(int, IRecord) - Method in interface io.github.ajevans.dbcode.data.structures.IRecordHolder
-
Should set a single
IRecord
in the holder at index position. - setRecord(int, IRecord) - Method in class io.github.ajevans.dbcode.data.structures.Table
-
Sets a single
IRecord
in the table at index position. - setRecordHolder(int, IRecordHolder) - Method in interface io.github.ajevans.dbcode.data.structures.IDataset
-
Should set a single
RecordHolder
at an index. - setRecordHolder(int, IRecordHolder) - Method in class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Set a single
IRecordHolder
at an index. - setRecordHolderNames(ArrayList<String>) - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
Should set the record holder names (e.g.
- setRecordHolderNames(ArrayList<String>) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Sets the names of files to read.
- setRecordStoreNames(ArrayList<String>) - Method in interface io.github.ajevans.dbcode.data.io.IDataConsumer
-
Should set the record store names for the store.
- setRecordStoreNames(ArrayList<String>) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Sets the record store (table) names for the store (database).
- setRecordStoreNames(ArrayList<String>) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Sets the record store (file) names for the store (directory).
- setRecordStoreNames(ArrayList<String>) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Sets the record store (file) names for the store (directory).
- setSource(File) - Method in interface io.github.ajevans.dbcode.data.io.IDataSupplier
-
Should set up the data source path as a File object.
- setSource(File) - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Connect to a
File
. - setSource(String) - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Sets source.
- setStandard(String) - Method in interface io.github.ajevans.dbcode.data.structures.IMetadata
-
Should set metadata standard or equivalent description.
- setStandard(String) - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Sets metadata standard.
- setStore(String) - Method in interface io.github.ajevans.dbcode.data.io.IDataConsumer
-
Should set store location to use.
- setStore(String) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Sets the location for the store / database.
- setStore(String) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Sets the location for the store / directory to write to.
- setStore(String) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Sets the location for the store / directory to write to.
- setTitle(String) - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Sets title.
- setup(IDataConsumer, Label, UIfx) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx.MenuHandler
-
Sets various variables within the handler.
- setup(IDataSupplier, UIfx) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx.MenuHandler
-
Sets various variables within the handler.
- setup(ProgressBar, DataLinker, UIfx) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx.ExceptionHandler
-
Sets various variables within the handler.
- setupDataset() - Method in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Sets up a data structure ready for the data.
- setValue(int, Object) - Method in interface io.github.ajevans.dbcode.data.structures.IRecord
-
Should set a single value.
- setValue(int, Object) - Method in class io.github.ajevans.dbcode.data.structures.Row
-
Set a single value.
- setVersion(String) - Method in class io.github.ajevans.dbcode.data.structures.Metadata
-
Sets version.
- source - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
DCMI source.
- source - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Source directory for reading.
- stage - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Main GUI Stage.
- standard - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
Standard.
- start(Stage) - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Initialises everything and starts GUI.
- startYear - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.As the data isn't marked up for date beyond info in the header.
- store - Variable in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
Path to database used.
- store - Variable in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Path to directory used for storage.
- store - Variable in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Path to directory used for storage.
- storeRecords(ArrayList<IRecord>) - Method in class io.github.ajevans.dbcode.dbconsumers.DerbyConsumer
-
INSERTs a collection of records into the database.
- storeRecords(ArrayList<IRecord>) - Method in class io.github.ajevans.dbcode.dbconsumers.FlatFileConsumer
-
Add a set of records to the relevant record store (file).
- storeRecords(ArrayList<IRecord>) - Method in class io.github.ajevans.dbcode.dbconsumers.HadoopConsumer
-
Add a set of records to the relevant record store (file).
- supplier - Variable in class io.github.ajevans.dbcode.data.io.DataLinker
-
The data supplier to link.
- supplier - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx.MenuHandler
-
Data supplier to use.
T
- Table - Class in io.github.ajevans.dbcode.data.structures
-
Generic table class containing one or more
IRecord
objects, usually but not by necessity,Rows
. - Table() - Constructor for class io.github.ajevans.dbcode.data.structures.Table
-
Generic constructor made private to stop floating tables without a parent dataset.
- Table(IDataset) - Constructor for class io.github.ajevans.dbcode.data.structures.Table
-
Constructor for table with a parent dataset.
- tableMetadata - Variable in class io.github.ajevans.dbcode.data.structures.Table
-
Metadata for the table.
- tabulatedDataset - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Store for all tables in this dataset.
- TabulatedDataset - Class in io.github.ajevans.dbcode.data.structures
-
Dataset containing one or more
IRecordHolder
objects, usually but not by necessity,Table
objects. - TabulatedDataset() - Constructor for class io.github.ajevans.dbcode.data.structures.TabulatedDataset
-
Generic constructor.
- textArea - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Text area for messages.
- title - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
DCMI title.
- toString() - Method in class io.github.ajevans.dbcode.data.structures.Row
-
For printing rows.
U
- uifx - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx.ExceptionHandler
-
The object made by the system of the outer class.
- uifx - Variable in class io.github.ajevans.dbcode.dbexamples.UIfx.MenuHandler
-
The object made by the system of the outer class.
- UIfx - Class in io.github.ajevans.dbcode.dbexamples
-
GUI and workhorse for application.
- UIfx() - Constructor for class io.github.ajevans.dbcode.dbexamples.UIfx
- UIfx() - Method in class io.github.ajevans.dbcode.dbexamples.UIfx
-
Default constructor.
- UIfx.ExceptionHandler - Class in io.github.ajevans.dbcode.dbexamples
-
Small inner class to deal with exceptions from tasks.
- UIfx.MenuHandler - Class in io.github.ajevans.dbcode.dbexamples
-
Small inner class to deal with menu events.
- updateAppMessage(String) - Method in class io.github.ajevans.dbcode.data.io.DataLinker
-
Method called with message.
- updateAppMessage(String) - Method in interface io.github.ajevans.dbcode.utilities.IReportingListener
-
Method called with message.
- updateAppProgress(double, double) - Method in class io.github.ajevans.dbcode.data.io.DataLinker
-
Method called with progress.
- updateAppProgress(double, double) - Method in interface io.github.ajevans.dbcode.utilities.IReportingListener
-
Method called with progress.
V
- values - Variable in class io.github.ajevans.dbcode.data.structures.Row
-
Storage for values.
- valuesPerYear - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.As the data isn't marked up for date beyond info in the header.
- version - Variable in class io.github.ajevans.dbcode.data.structures.Metadata
-
Version.
Y
- years - Variable in class io.github.ajevans.dbcode.filesuppliers.CruTs2pt1Supplier
-
Deprecated.Could calculate this when needed locally, but better to do it once.
All Classes|All Packages
load(IDataset dataset)
docs for details of deprecation.