MCPcopy Create free account
hub / github.com/apache/calcite / belongsTo

Method belongsTo

core/src/main/java/org/apache/calcite/sql/SqlKind.java:1780–1782  ·  view source on GitHub ↗

Returns whether this SqlKind belongs to a given category. A category is a collection of kinds, not necessarily disjoint. For example, QUERY is { SELECT, UNION, INTERSECT, EXCEPT, VALUES, ORDER_BY, EXPLICIT_TABLE }. @param category Category @return Whether this kind belongs to the given

(Collection<SqlKind> category)

Source from the content-addressed store, hash-verified

1778 * @return Whether this kind belongs to the given category
1779 */
1780 public final boolean belongsTo(Collection<SqlKind> category) {
1781 return category.contains(this);
1782 }
1783
1784 /**
1785 * If this kind represents a non-standard function, return OTHER_FUNCTION, otherwise

Callers 9

isAMethod · 0.80
registerSubQueriesMethod · 0.80
prepare2_Method · 0.80
implementMethod · 0.80
prepareSqlMethod · 0.80
isAMethod · 0.80

Calls 1

containsMethod · 0.65

Tested by

no test coverage detected