Package org.apache.calcite.util
Class Util.FoundOne
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.calcite.util.ControlFlowException
-
- org.apache.calcite.util.Util.FoundOne
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Util
public static class Util.FoundOne extends ControlFlowException
Exception used to interrupt a tree walk of any kind.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
node
static Util.FoundOne
NULL
Singleton instance.
-
Constructor Summary
Constructors Constructor Description FoundOne(java.lang.Object node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getNode()
-
Methods inherited from class org.apache.calcite.util.ControlFlowException
fillInStackTrace
-
-
-
-
Field Detail
-
node
private final java.lang.Object node
-
NULL
public static final Util.FoundOne NULL
Singleton instance. Can be used if you don't care about node.
-
-