MCPcopy Create free account
hub / github.com/apache/impala / unwrapSlotRef

Method unwrapSlotRef

fe/src/main/java/org/apache/impala/analysis/Expr.java:1709–1713  ·  view source on GitHub ↗

If 'this' is a SlotRef or a Cast that wraps a SlotRef, returns that SlotRef. Otherwise returns null.

(boolean implicitOnly)

Source from the content-addressed store, hash-verified

1707 * Otherwise returns null.
1708 */
1709 public SlotRef unwrapSlotRef(boolean implicitOnly) {
1710 Expr unwrappedExpr = unwrapExpr(implicitOnly);
1711 if (unwrappedExpr instanceof SlotRef) return (SlotRef) unwrappedExpr;
1712 return null;
1713 }
1714
1715 /**
1716 * Returns the first child if this Expr is a CastExpr or builtin cast

Callers 15

getDisjunctsHelperMethod · 0.95
findSourceTupleIdMethod · 0.95
assignRuntimeFiltersMethod · 0.95
findSrcExprMethod · 0.95
findSrcScanSlotMethod · 0.95
createMetadataMethod · 0.95
isExprOpSlotRefMethod · 0.80
toThriftMethod · 0.80

Calls 1

unwrapExprMethod · 0.95

Tested by

no test coverage detected