Serializable
, org.apache.hyracks.algebricks.runtime.base.IScalarEvaluatorFactory
FnDaysFromDurationScalarEvaluatorFactory
, FnHoursFromDurationScalarEvaluatorFactory
, FnMinutesFromDurationScalarEvaluatorFactory
, FnMonthsFromDurationScalarEvaluatorFactory
, FnSecondsFromDurationScalarEvaluatorFactory
, FnYearsFromDurationScalarEvaluatorFactory
public abstract class AbstractValueFromDurationScalarEvaluatorFactory extends AbstractTaggedValueArgumentScalarEvaluatorFactory
Constructor | Description |
---|---|
AbstractValueFromDurationScalarEvaluatorFactory(org.apache.hyracks.algebricks.runtime.base.IScalarEvaluatorFactory[] args) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract long |
convertDuration(long YMDuration,
long DTDuration) |
|
protected org.apache.hyracks.algebricks.runtime.base.IScalarEvaluator |
createEvaluator(org.apache.hyracks.api.context.IHyracksTaskContext ctx,
org.apache.hyracks.algebricks.runtime.base.IScalarEvaluator[] args) |
|
protected int |
getReturnTag() |
createScalarEvaluator
public AbstractValueFromDurationScalarEvaluatorFactory(org.apache.hyracks.algebricks.runtime.base.IScalarEvaluatorFactory[] args)
protected org.apache.hyracks.algebricks.runtime.base.IScalarEvaluator createEvaluator(org.apache.hyracks.api.context.IHyracksTaskContext ctx, org.apache.hyracks.algebricks.runtime.base.IScalarEvaluator[] args) throws org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
createEvaluator
in class AbstractTaggedValueArgumentScalarEvaluatorFactory
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException
protected int getReturnTag()
protected abstract long convertDuration(long YMDuration, long DTDuration)
Copyright © 2019 Apache Software Foundation. All rights reserved.