Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr NameLoad Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Return CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If BoolOpOr CompareGtE NameLoad Call NameLoad NameLoad CompareNotEq NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotEq Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr body Return NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return NameLoad If Call AttributeLoad NameLoad attr body Return NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str CompareEq Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Return NameLoad If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr body Return NameLoad orelse If BoolOpAnd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad BoolOpOr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareIn Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A collections OrderedDict abstract_asset AbstractAsset identifier Identifier Index N/A AbstractAsset N/A N/A 
    An abstraction class for an index.
     __init__ N/A N/A self name columns is_unique is_primary flags options N/A False False None None N/A N/A 
        Constructor.

        :param name: The index name
        :type name: str

        :param columns: The index columns
        :type columns: list

        :param is_unique: Whether the index is unique or not
        :type is_unique: bool

        :param is_primary: Whether the index is primary or not
        :type is_primary: bool

        :param flags: The index flags
        :type: dict
         N/A is_unique N/A is_unique is_primary N/A N/A N/A self _set_name name N/A N/A self _is_unique is_unique N/A N/A self _is_primary is_primary N/A N/A self _options N/A options N/A N/A N/A self _columns N/A OrderedDict N/A N/A self _flags N/A OrderedDict N/A column columns N/A N/A N/A N/A self _add_column column N/A flags N/A flags N/A OrderedDict N/A flag flags N/A N/A N/A N/A self add_flag flag N/A _add_column N/A N/A self column N/A N/A N/A 
        Adds a new column.

        :param column: The column to add
        :type column: str
         N/A N/A N/A self _columns N/A column N/A Identifier column N/A get_columns N/A N/A self N/A N/A N/A 
        :rtype: list
         N/A N/A list N/A N/A N/A self _columns keys N/A get_quoted_columns N/A N/A self platform N/A N/A N/A 
        Returns the quoted representation of the column names
        the constraint is associated with.

        But only if they were defined with one or a column name
        is a keyword reserved by the platform.
        Otherwise the plain unquoted value as inserted is returned.

        :param platform: The platform to use for quotation.
        :type platform: Platform

        :rtype: list
         N/A columns N/A N/A column N/A N/A N/A self _columns values N/A N/A N/A N/A columns append N/A N/A column get_quoted_name platform N/A columns N/A get_unquoted_columns N/A N/A self N/A N/A N/A N/A list N/A map N/A self _trim_quotes N/A N/A self get_columns N/A is_simple_index N/A N/A self N/A N/A N/A 
        Is the index neither unique nor primary key?

        :rtype: bool
         N/A N/A N/A N/A self _is_primary N/A N/A self _is_unique N/A is_unique N/A N/A self N/A N/A N/A N/A self _is_unique N/A is_primary N/A N/A self N/A N/A N/A N/A self _is_primary N/A has_column_at_position N/A N/A self column_name pos N/A 0 N/A N/A 
        :type column_name: str
        :type pos: int

        :rtype: bool
         N/A column_name N/A N/A self _trim_quotes N/A N/A column_name lower N/A index_columns N/A N/A N/A c lower N/A c N/A N/A self get_unquoted_columns N/A N/A N/A N/A index_columns index column_name pos N/A spans_columns N/A N/A self column_names N/A N/A N/A 
        Checks if this index exactly spans the given column names in the correct order.

        :type column_names: list

        :rtype: bool
         N/A columns N/A N/A self get_columns N/A number_of_columns N/A len columns N/A same_columns True N/A i N/A range number_of_columns N/A N/A column N/A N/A self _trim_quotes N/A N/A N/A columns N/A i lower N/A N/A N/A i N/A len column_names N/A column N/A N/A self _trim_quotes N/A N/A N/A column_names N/A i lower N/A N/A same_columns False N/A same_columns N/A is_fullfilled_by N/A N/A self other N/A N/A N/A 
        Checks if the other index already fulfills
        all the indexing and constraint needs of the current one.

        :param other: The other index
        :type other: Index

        :rtype: bool
         N/A N/A N/A len N/A N/A other get_columns N/A len N/A N/A self get_columns N/A N/A False N/A N/A N/A N/A self spans_columns N/A N/A other get_columns N/A N/A False N/A N/A N/A N/A self same_partial_index other N/A N/A False N/A N/A N/A self is_simple_index N/A N/A True N/A N/A N/A N/A other is_primary N/A N/A self is_primary N/A N/A False N/A N/A N/A N/A other is_unique N/A N/A self is_unique N/A N/A False N/A True N/A same_partial_index N/A N/A self other N/A N/A N/A 
        Return whether the two indexes have the same partial index

        :param other: The other index
        :type other: Index

        :rtype: bool
         N/A N/A N/A N/A self has_option where N/A N/A other has_option where N/A N/A N/A self get_option where N/A N/A other get_option where N/A N/A True N/A N/A N/A N/A N/A self has_option where N/A N/A N/A other has_option where N/A N/A True N/A False N/A overrules N/A N/A self other N/A N/A N/A 
        Detects if the other index is a non-unique, non primary index
        that can be overwritten by this one.

        :param other: The other index
        :type other: Index

        :rtype: bool
         N/A N/A N/A other is_primary N/A N/A False N/A N/A N/A N/A N/A self is_simple_index N/A N/A other is_unique N/A N/A False N/A same_columns N/A N/A self spans_columns N/A N/A other get_columns N/A N/A same_columns N/A N/A N/A self is_primary N/A N/A self is_unique N/A N/A self same_partial_index other N/A N/A True N/A False N/A get_flags N/A N/A self N/A N/A N/A 
        Returns platform specific flags for indexes.

        :rtype: list
         N/A N/A list N/A N/A N/A self _flags keys N/A add_flag N/A N/A self flag N/A N/A N/A 
        Adds Flag for an index that translates to platform specific handling.

        >>> index.add_flag('CLUSTERED')

        :type flag: str

        :rtype: Index
         N/A N/A N/A self _flags N/A N/A N/A flag lower True N/A self N/A has_flag N/A N/A self flag N/A N/A N/A 
        Does this index have a specific flag?

        :type flag: str

        :rtype: bool
         N/A N/A N/A N/A flag lower N/A self _flags N/A remove_flag N/A N/A self flag N/A N/A N/A 
        Removes a flag.

        :type flag: str
         N/A N/A N/A self has_flag flag N/A N/A N/A N/A self _flags N/A N/A N/A flag lower N/A has_option N/A N/A self name N/A N/A N/A N/A name N/A self _options N/A get_option N/A N/A self name N/A N/A N/A N/A N/A self _options N/A name N/A get_options N/A N/A self N/A N/A N/A N/A self _options N/A N/A