Package overit.geocall.sql
Interface ColumnExtractor
public interface ColumnExtractor
Service useful to return all columns of the supplied table, including all the
EDM extended attributes configured for the passed Company.-
Method Summary
Modifier and TypeMethodDescriptionextract(@NotNull PooledConnection pooledConnection, @NotNull String table, @NotNull String alias, @NotNull DataAttributesHolder dataAttributesHolder, @NotNull Company company) extract(@NotNull PooledConnection pooledConnection, @NotNull String table, @NotNull DataAttributesHolder dataAttributesHolder, @NotNull Company company)
-
Method Details
-
extract
List<String> extract(@NotNull @NotNull PooledConnection pooledConnection, @NotNull @NotNull String table, @NotNull @NotNull DataAttributesHolder dataAttributesHolder, @NotNull @NotNull Company company) Returns aList<String> about all columns of the suppliedtable, including all theEDMextended attributes configured for the passedCompany.- Parameters:
pooledConnection-Stringabout the serviceConnectionPoolfrom which extract the connection to retrieve the data.table-Stringabout the table for which to extract and return the corresponding columns andEDMextended attributes.dataAttributesHolder-DataAttributesHoldercontaining a possibleEDM configuration.company-Companycurrently in use.- Returns:
- a
List<String> about all columns of the suppliedtable, including all theEDMextended attributes configured for the passedCompany.
-
extract
List<String> extract(@NotNull @NotNull PooledConnection pooledConnection, @NotNull @NotNull String table, @NotNull @NotNull String alias, @NotNull @NotNull DataAttributesHolder dataAttributesHolder, @NotNull @NotNull Company company) Returns aList<String> about all columns of the suppliedtable, including all theEDMextended attributes configured for the passedCompany.
The common fields likeACTION,LOGIN,DATASTAMPwill be prefixed using the providedalias.- Parameters:
pooledConnection-Stringabout the serviceConnectionPoolfrom which extract the connection to retrieve the data.table-Stringabout the table for which to extract and return the corresponding columns andEDMextended attributes.alias-Stringabout the table alias.dataAttributesHolder-DataAttributesHoldercontaining a possibleEDM configuration.company-Companycurrently in use.- Returns:
- a
List<String> about all columns of the suppliedtable, including all theEDMextended attributes configured for the passedCompany.
The common fields likeACTION,LOGIN,DATASTAMPwill be prefixed using the providedalias.
-