All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.babyfish.jimmer.sql.ast.table.Table Maven / Gradle / Ivy

There is a newer version: 0.9.19
Show newest version
package org.babyfish.jimmer.sql.ast.table;

import org.babyfish.jimmer.View;
import org.babyfish.jimmer.meta.spi.TableDelegate;
import org.babyfish.jimmer.sql.ast.NumericExpression;
import org.babyfish.jimmer.sql.ast.Predicate;
import org.babyfish.jimmer.sql.ast.Selection;
import org.babyfish.jimmer.sql.ast.impl.table.TableTypeProvider;
import org.babyfish.jimmer.sql.ast.query.Example;
import org.babyfish.jimmer.sql.fetcher.Fetcher;

public interface Table extends TableDelegate, TableTypeProvider, Selection, Props {

    /**
     * Shortcut for `this.id().eq(other.id())`
     */
    Predicate eq(Table other);

    /**
     * QBE
     */
    Predicate eq(Example example);

    /**
     * QBE
     */
    Predicate eq(E example);

    /**
     * QBE
     */
    Predicate eq(View view);

    Predicate isNull();

    Predicate isNotNull();

    NumericExpression count();

    NumericExpression count(boolean distinct);

    Selection fetch(Fetcher fetcher);

    > Selection fetch(Class viewType);

    TableEx asTableEx();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy