Class ExpressionFunction.VariableValueSource

java.lang.Object
noaa.coastwatch.util.chunk.ExpressionFunction.VariableValueSource
All Implemented Interfaces:
EvaluateImp
Enclosing class:
ExpressionFunction

public class ExpressionFunction.VariableValueSource extends Object implements EvaluateImp
Provides expression variable values for this function to run.
  • Field Details

    • valueIndex

      public int valueIndex
      The value index to use in retrieving a variable value.
  • Constructor Details

    • VariableValueSource

      public VariableValueSource(List<DataChunk> chunks)
      Creates a new source of variable values from a list of chunks.
      Parameters:
      chunks - the data chunks to use for variable values, in order by index in the expression.
  • Method Details

    • isMissingAnyValue

      public boolean isMissingAnyValue()
      Gets the status of variable data missing flags.
      Returns:
      true if any variable has a missing value at the currently set value index, or false if not.
    • getByteProperty

      public byte getByteProperty(int varIndex)
      Specified by:
      getByteProperty in interface EvaluateImp
    • getShortProperty

      public short getShortProperty(int varIndex)
      Specified by:
      getShortProperty in interface EvaluateImp
    • getIntegerProperty

      public int getIntegerProperty(int varIndex)
      Specified by:
      getIntegerProperty in interface EvaluateImp
    • getLongProperty

      public long getLongProperty(int varIndex)
      Specified by:
      getLongProperty in interface EvaluateImp
    • getFloatProperty

      public float getFloatProperty(int varIndex)
      Specified by:
      getFloatProperty in interface EvaluateImp
    • getDoubleProperty

      public double getDoubleProperty(int varIndex)
      Specified by:
      getDoubleProperty in interface EvaluateImp