org.babyfish.jimmer.sql.ast.table.Table Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-sql Show documentation
Show all versions of jimmer-sql Show documentation
A revolutionary ORM framework for both java and kotlin
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();
}