public interface Joinable
Modifier and Type | Method and Description |
---|---|
boolean |
consumesCollectionAlias()
Very, very, very ugly...
|
boolean |
consumesEntityAlias()
Very, very, very ugly...
|
String |
filterFragment(String alias,
Map enabledFilters)
Get the where clause filter, given a query alias and considering enabled session filters
|
String |
filterFragment(String alias,
Map enabledFilters,
Set<String> treatAsDeclarations)
Get the where clause filter, given a query alias and considering enabled session filters
|
String |
fromJoinFragment(String alias,
boolean innerJoin,
boolean includeSubclasses)
Get the from clause part of any joins
(optional operation)
|
String |
fromJoinFragment(String alias,
boolean innerJoin,
boolean includeSubclasses,
Set<String> treatAsDeclarations)
Get the from clause part of any joins
(optional operation)
|
String[] |
getKeyColumnNames()
The columns to join on
|
String |
getName()
An identifying name; a class name or collection role name.
|
String |
getTableName()
The table to join to.
|
boolean |
isCollection()
Is this instance actually a CollectionPersister?
|
String |
oneToManyFilterFragment(String alias) |
String |
oneToManyFilterFragment(String alias,
Set<String> treatAsDeclarations) |
String |
selectFragment(Joinable rhs,
String rhsAlias,
String lhsAlias,
String currentEntitySuffix,
String currentCollectionSuffix,
boolean includeCollectionColumns)
All columns to select, when loading.
|
String |
whereJoinFragment(String alias,
boolean innerJoin,
boolean includeSubclasses)
Get the where clause part of any joins
(optional operation)
|
String |
whereJoinFragment(String alias,
boolean innerJoin,
boolean includeSubclasses,
Set<String> treatAsDeclarations)
Get the where clause part of any joins
(optional operation)
|
String getName()
String getTableName()
String selectFragment(Joinable rhs, String rhsAlias, String lhsAlias, String currentEntitySuffix, String currentCollectionSuffix, boolean includeCollectionColumns)
String whereJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses)
String whereJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses, Set<String> treatAsDeclarations)
String fromJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses)
String fromJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses, Set<String> treatAsDeclarations)
String[] getKeyColumnNames()
String filterFragment(String alias, Map enabledFilters) throws MappingException
MappingException
String filterFragment(String alias, Map enabledFilters, Set<String> treatAsDeclarations) throws MappingException
MappingException
String oneToManyFilterFragment(String alias) throws MappingException
MappingException
String oneToManyFilterFragment(String alias, Set<String> treatAsDeclarations)
boolean isCollection()
boolean consumesEntityAlias()
boolean consumesCollectionAlias()
Copyright © 2016 JBoss by Red Hat. All rights reserved.