E
- expression type@Immutable public final class PrimaryKey<E> extends Object implements Serializable, ProjectionRole<Tuple>
PrimaryKey
defines a primary key on tableConstructor and Description |
---|
PrimaryKey(RelationalPath<?> entity,
com.google.common.collect.ImmutableList<? extends Path<?>> localColumns) |
PrimaryKey(RelationalPath<?> entity,
Path<?>... localColumns) |
Modifier and Type | Method and Description |
---|---|
RelationalPath<?> |
getEntity() |
List<? extends Path<?>> |
getLocalColumns() |
Expression<Tuple> |
getProjection()
Return the custom projection
|
BooleanExpression |
in(CollectionExpression<?,Tuple> coll) |
public PrimaryKey(RelationalPath<?> entity, Path<?>... localColumns)
public PrimaryKey(RelationalPath<?> entity, com.google.common.collect.ImmutableList<? extends Path<?>> localColumns)
public RelationalPath<?> getEntity()
public BooleanExpression in(CollectionExpression<?,Tuple> coll)
public Expression<Tuple> getProjection()
ProjectionRole
getProjection
in interface ProjectionRole<Tuple>
Copyright © 2007–2016 Querydsl. All rights reserved.