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

Method needToImplement

core/src/main/java/org/apache/calcite/util/Util.java:1208–1214  ·  view source on GitHub ↗

Returns a java.lang.RuntimeException indicating that a particular feature has not been implemented, but should be. If every 'hole' in our functionality uses this method, it will be easier for us to identify the holes. Throwing a java.lang.UnsupportedOperationException isn't as go

(@Nullable Object o)

Source from the content-addressed store, hash-verified

1206 * @return an {@link UnsupportedOperationException}.
1207 */
1208 public static RuntimeException needToImplement(@Nullable Object o) {
1209 String description = null;
1210 if (o != null) {
1211 description = o.getClass().toString() + ": " + o.toString();
1212 }
1213 throw new UnsupportedOperationException(description);
1214 }
1215
1216 /**
1217 * Flags a piece of code as needing to be cleaned up before you check in.

Callers 15

rewriteRelMethod · 0.95
flattenProjectionMethod · 0.95
visitFieldAccessMethod · 0.95
flattenComparisonMethod · 0.95
convertCallMethod · 0.95
getDynamicParamTypeMethod · 0.95
getOperandCountRangeMethod · 0.95
inferReturnTypeMethod · 0.95
checkOperandTypesMethod · 0.95
reduceExprMethod · 0.95
unparseMethod · 0.95
createSqlTypeMethod · 0.95

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected