Package overit.geocall.da
Interface DistinctFieldResolver
public interface DistinctFieldResolver
-
Method Summary
Modifier and TypeMethodDescriptioncalculateSelectableFields(@NotNull DataAttributesHolder dataAttributesHolder, @NotNull String table, @NotNull String alias, @NotNull PooledConnection pooledConnection, @NotNull Company company) calculateSelectableFields(@NotNull DataAttributesHolder dataAttributesHolder, @NotNull String table, @NotNull PooledConnection pooledConnection, @NotNull Company company) calculateSelectableFields(@NotNull DataAttributesHolder dataAttributesHolder, @NotNull List<String> tables, @NotNull PooledConnection pooledConnection, @NotNull Company company) calculateSelectableFields(@NotNull DataAttributesHolder dataAttributesHolder, @NotNull TablesWithAliases tablesWithAliases, @NotNull PooledConnection pooledConnection, @NotNull Company company)
-
Method Details
-
calculateSelectableFields
List<String> calculateSelectableFields(@NotNull @NotNull DataAttributesHolder dataAttributesHolder, @NotNull @NotNull String table, @NotNull @NotNull PooledConnection pooledConnection, @NotNull @NotNull Company company) Returns aList<String> about the list of all selectable fields when creating aSQL SELECT DISTINCT query, using the provided parameters.- Parameters:
dataAttributesHolder-DataAttributesHoldercontaining a possibleEDM configuration.table-Stringabout the table name.pooledConnection-PooledConnectionabout the pooled connection currently used.company-Companycurrently in use.- Returns:
- a
List<String> about the list of all selectable fields when creating aSQL SELECT DISTINCT query, using the provided parameters.
-
calculateSelectableFields
List<String> calculateSelectableFields(@NotNull @NotNull DataAttributesHolder dataAttributesHolder, @NotNull @NotNull String table, @NotNull @NotNull String alias, @NotNull @NotNull PooledConnection pooledConnection, @NotNull @NotNull Company company) Returns aList<String> about the list of all selectable fields when creating aSQL SELECT DISTINCT query, using the provided parameters.
The common fields likeACTION,LOGIN,DATASTAMPwill be prefixed using the providedalias.- Parameters:
dataAttributesHolder-DataAttributesHoldercontaining a possibleEDM configuration.table-Stringabout the table name.alias-Stringabout the table alias.pooledConnection-PooledConnectionabout the pooled connection currently used.company-Companycurrently in use.- Returns:
- a
List<String> about the list of all selectable fields when creating aSQL SELECT DISTINCT query, using the provided parameters.
The common fields likeACTION,LOGIN,DATASTAMPwill be prefixed using the providedalias.
-
calculateSelectableFields
List<String> calculateSelectableFields(@NotNull @NotNull DataAttributesHolder dataAttributesHolder, @NotNull @NotNull List<String> tables, @NotNull @NotNull PooledConnection pooledConnection, @NotNull @NotNull Company company) Returns aList<String> about the list of all selectable fields when creating aSQL SELECT DISTINCT query, using the provided parameters.- Parameters:
dataAttributesHolder-DataAttributesHoldercontaining a possibleEDM configuration.tables-List<String> about the tables names.pooledConnection-PooledConnectionabout the pooled connection currently used.company-Companycurrently in use.- Returns:
- a
List<String> about the list of all selectable fields when creating aSQL SELECT DISTINCT query, using the provided parameters.
-
calculateSelectableFields
List<String> calculateSelectableFields(@NotNull @NotNull DataAttributesHolder dataAttributesHolder, @NotNull @NotNull TablesWithAliases tablesWithAliases, @NotNull @NotNull PooledConnection pooledConnection, @NotNull @NotNull Company company) Returns aList<String> about the list of all selectable fields when creating aSQL SELECT DISTINCT query, using the provided parameters.
The common fields likeACTION,LOGIN,DATASTAMPwill be prefixed using the providedalias.- Parameters:
dataAttributesHolder-DataAttributesHoldercontaining a possibleEDM configuration.tablesWithAliases-TablesWithAliasesabout a list of table-alias pairs.pooledConnection-PooledConnectionabout the pooled connection currently used.company-Companycurrently in use.- Returns:
- a
List<String> about the list of all selectable fields when creating aSQL SELECT DISTINCT query, using the provided parameters.
The common fields likeACTION,LOGIN,DATASTAMPwill be prefixed using the providedalias.
-