public class DateBOp extends IVValueExpression<IV> implements INeedsMaterialization
DateBOp.Annotations.OP
annotation.| Modifier and Type | Class and Description |
|---|---|
static interface |
DateBOp.Annotations |
static class |
DateBOp.DateOp |
INeedsMaterialization.RequirementDEFAULT_INITIAL_CAPACITY| Constructor and Description |
|---|
DateBOp(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
DateBOp(DateBOp op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode). |
DateBOp(IValueExpression<? extends IV> left,
DateBOp.DateOp op,
GlobalAnnotations globals) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areGlobalsRequired()
Returns
true unless overridden, meaning the
GlobalAnnotations are required for this value expression
(certain boolean value expressions do not require them). |
IV |
get(IBindingSet bs)
Return the as bound value of the variable, constant, or
expression.
|
INeedsMaterialization.Requirement |
getRequirement()
Does the bop always need materialized variables, or can it sometimes
operate on inline terms without materialization? If sometimes, we'll
run it before the materialization pipeline steps in an effort to avoid
unnecessary materialization overhead.
|
IValueExpression<? extends IV> |
left() |
DateBOp.DateOp |
op() |
protected IV |
timezone(BigdataLiteral l) |
String |
toString()
Return a non-recursive representation of the arguments and annotations
for this
BOp. |
protected IV |
tz(BigdataLiteral l) |
anns, asIV, asIV, asLiteral, asValue, get, getAndCheckBound, getAndCheckLiteral, getAndCheckLiteralValue, getLexiconConfiguration, getNamespace, getTimestamp, getValueFactory, literalLabel__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waittoStringannotations, argIterator, args, arity, clone, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortStringgetPropertypublic DateBOp(IValueExpression<? extends IV> left, DateBOp.DateOp op, GlobalAnnotations globals)
left - The left operand.right - The right operand.op - The annotation specifying the operation to be performed on those operands.public DateBOp(BOp[] args, Map<String,Object> anns)
args - The operands.op - The operation.public DateBOp(DateBOp op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode).op - protected boolean areGlobalsRequired()
IVValueExpressiontrue unless overridden, meaning the
GlobalAnnotations are required for this value expression
(certain boolean value expressions do not require them). Global
annotations allow the method getValueFactory and getLexiconConfiguration
to work.areGlobalsRequired in class IVValueExpression<IV>public final IV get(IBindingSet bs)
IValueExpressionIConstant is the
contant's value. The as bound value of an IVariable is the
bound value in the given IBindingSet -or- null if
the variable is not bound in the IBindingSet.get in interface IValueExpression<IV>bs - The binding set.public IValueExpression<? extends IV> left()
public DateBOp.DateOp op()
public String toString()
CoreBaseBOpBOp.toString in interface BOptoString in class CoreBaseBOppublic INeedsMaterialization.Requirement getRequirement()
INeedsMaterializationgetRequirement in interface INeedsMaterializationprotected IV tz(BigdataLiteral l)
protected IV timezone(BigdataLiteral l)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.