public interface NestedSQLValue<T,N> extends SQLValue<T>, GroupingSQLValue<T>
SQLValue
that wraps a different one
It includes default methods to handle any nested GroupingSQLValue
.Modifier and Type | Method and Description |
---|---|
default int |
addGroup(java.lang.StringBuilder sb,
boolean qualify)
Add the group-by clause to a query.
|
default boolean |
checkContentsCanGroup()
return false if this instance is not able to perform grouping.
|
default java.util.List<PatternArgument> |
getGroupParameters(java.util.List<PatternArgument> list)
Get the parameters for a group-by clause.
|
SQLValue<N> |
getNested() |
default SQLFilter |
getRequiredFilter()
Get an SQLFilter required to be added to the filter set.
|
default boolean |
groupingIsomorphic()
Is there always a one-to-one mapping between groups and values
|
add, getParameters, makeObject
default SQLFilter getRequiredFilter()
SQLValue
getRequiredFilter
in interface SQLValue<T>
default int addGroup(java.lang.StringBuilder sb, boolean qualify)
GroupingSQLValue
addGroup
in interface GroupingSQLValue<T>
default java.util.List<PatternArgument> getGroupParameters(java.util.List<PatternArgument> list)
GroupingSQLValue
getGroupParameters
in interface GroupingSQLValue<T>
default boolean checkContentsCanGroup()
GroupingSQLValue
checkContentsCanGroup
in interface GroupingSQLValue<T>
default boolean groupingIsomorphic()
GroupingSQLValue
groupingIsomorphic
in interface GroupingSQLValue<T>