Class GoogleMetadataProcessor

  • All Implemented Interfaces:
    org.teiid.translator.MetadataProcessor<org.teiid.translator.google.api.GoogleSpreadsheetConnection>

    public class GoogleMetadataProcessor
    extends Object
    implements org.teiid.translator.MetadataProcessor<org.teiid.translator.google.api.GoogleSpreadsheetConnection>
    • Constructor Detail

      • GoogleMetadataProcessor

        public GoogleMetadataProcessor()
    • Method Detail

      • process

        public void process​(org.teiid.metadata.MetadataFactory mf,
                            org.teiid.translator.google.api.GoogleSpreadsheetConnection conn)
                     throws org.teiid.translator.TranslatorException
        Creates metadata from all spreadsheets in the user account. Table name consists of Spreadsheet name and worksheet name. Columns of the table are columns of the worksheet.
        Specified by:
        process in interface org.teiid.translator.MetadataProcessor<org.teiid.translator.google.api.GoogleSpreadsheetConnection>
        Throws:
        org.teiid.translator.TranslatorException
      • isAllTypesUpdatable

        @TranslatorProperty(display="All Types Updatable",
                            category=IMPORT,
                            description="Allow all types to be updatable even those that may have formatting or locale inconsistencies.")
        public boolean isAllTypesUpdatable()
      • setAllTypesUpdatable

        public void setAllTypesUpdatable​(boolean allTypesUpdatable)