@classmethod
def _sql_vector_query_options(cls, descriptor):
    """
        Internal helper method to construct tuple of options used to construct
        sql query for given descriptor's vector.

        :return: Tuple of elements used to construct a SQL query
        :rtype: tuple
        """
    return (descriptor.db_name, descriptor.db_host, descriptor.db_port,
        descriptor.db_user, descriptor.db_pass, descriptor.table_name,
        descriptor.type_col, descriptor.uuid_col, descriptor.binary_col,
        descriptor.type())
