public class NullConstantImpl extends AbstractNonFunctionalTerm implements Constant
| Modifier | Constructor and Description |
|---|---|
protected |
NullConstantImpl(String nullLexicalValue) |
| Modifier and Type | Method and Description |
|---|---|
IncrementalEvaluation |
evaluateIsNotNull(VariableNullability variableNullability) |
IncrementalEvaluation |
evaluateStrictEq(ImmutableTerm otherTerm,
VariableNullability variableNullability) |
Optional<TermType> |
getOptionalType()
Empty if and only if is null.
|
String |
getValue() |
Stream<Variable> |
getVariableStream() |
Optional<TermTypeInference> |
inferType()
Returns empty when no TermType has been inferred (missing information or fatal error)
and no non-fatal error has been detected.
|
boolean |
isGround() |
boolean |
isNull()
Returns true if and only if the term is a NULL Constant.
|
boolean |
isNullable(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> nullableVariables) |
String |
toString() |
simplify, simplifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDeterministicsimplify, simplifyprotected NullConstantImpl(String nullLexicalValue)
public boolean isNull()
ImmutableTermisNull in interface ImmutableTermpublic Optional<TermType> getOptionalType()
ConstantgetOptionalType in interface Constantpublic boolean isGround()
isGround in interface ImmutableTermpublic Stream<Variable> getVariableStream()
getVariableStream in interface ImmutableTermpublic Optional<TermTypeInference> inferType()
ImmutableTerminferType in interface ImmutableTermpublic IncrementalEvaluation evaluateStrictEq(ImmutableTerm otherTerm, VariableNullability variableNullability)
evaluateStrictEq in interface ImmutableTermpublic IncrementalEvaluation evaluateIsNotNull(VariableNullability variableNullability)
evaluateIsNotNull in interface ImmutableTermpublic boolean isNullable(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> nullableVariables)
isNullable in interface ImmutableTermCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.