IFieldDatabaseProvider

public interface IFieldDatabaseProvider

Implement this interface to provide data for the FieldDatabase field when it’s updated.

Methods

MethodDescription
getQueryResult(String fileName, String connection, String query, FieldDatabase field)Returns query result.

getQueryResult(String fileName, String connection, String query, FieldDatabase field)

public abstract FieldDatabaseDataTable getQueryResult(String fileName, String connection, String query, FieldDatabase field)

Returns query result.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringThe complete path and file name of the database specified in the \d field switch.
connectionjava.lang.StringThe connection to the data specified in the \c field switch.
queryjava.lang.StringThe set of SQL instructions that query the database specified in the \s field switch.
fieldFieldDatabaseThe field being updated.

Returns: FieldDatabaseDataTable - The FieldDatabaseDataTable instance that should be used for the field’s update.