commit | 39b3b08d276606a2ca1e7d0268d22ac5f2a1918a | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@eaa15691-b419-025a-1212-ee371bd00084> | Fri Dec 21 07:58:19 2012 +0000 |
committer | buyingyi <buyingyi@eaa15691-b419-025a-1212-ee371bd00084> | Fri Dec 21 07:58:19 2012 +0000 |
tree | 58883f475692da6dffe30cd903f0fa86a7dffdaf | |
parent | a08c34dc9757e57635c560134f0b554606d99542 [diff] |
add comments for the not-null function git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_yfix@1047 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-runtime/src/main/java/edu/uci/ics/asterix/runtime/evaluators/functions/NotNullDescriptor.java b/asterix-runtime/src/main/java/edu/uci/ics/asterix/runtime/evaluators/functions/NotNullDescriptor.java index a3f0342..12e73f6 100644 --- a/asterix-runtime/src/main/java/edu/uci/ics/asterix/runtime/evaluators/functions/NotNullDescriptor.java +++ b/asterix-runtime/src/main/java/edu/uci/ics/asterix/runtime/evaluators/functions/NotNullDescriptor.java
@@ -31,6 +31,11 @@ import edu.uci.ics.hyracks.data.std.util.ArrayBackedValueStorage; import edu.uci.ics.hyracks.dataflow.common.data.accessors.IFrameTupleReference; +/** + * This runtime function checks if the input is null. + * If the input is not null, just return it directly; + * Otherwise, throw a runtime exception. + */ public class NotNullDescriptor extends AbstractScalarFunctionDynamicDescriptor { private static final long serialVersionUID = 1L;