Class BaseDefaultColumnHandler

    • Method Detail

      • needUpdateDefaultColumns

        public boolean needUpdateDefaultColumns()
        Description copied from interface: DefaultColumnHandler
        Check if there is a need to add/remove/update the auto-generated default columns for the segment, according to the current table schema.
        Specified by:
        needUpdateDefaultColumns in interface DefaultColumnHandler
        Returns:
        true if there is a need to update.
      • removeColumnIndices

        protected void removeColumnIndices​(String column)
                                    throws IOException
        Helper method to remove the indices (dictionary and forward index) for a default column.
        Parameters:
        column - column name.
        Throws:
        IOException
      • createColumnV1Indices

        protected boolean createColumnV1Indices​(String column)
                                         throws Exception
        Helper method to create the V1 indices (dictionary and forward index) for a column, returns true if the creation succeeds, false otherwise.
        Throws:
        Exception
      • isForwardIndexDisabled

        protected boolean isForwardIndexDisabled​(String column)
        Check and return whether the forward index is disabled for a given column