Class Input

java.lang.Object
io.deephaven.integrations.learn.Input

public class Input extends Object
Input specifies how to gather data from a table into a Python object.
  • Constructor Details

    • Input

      public Input(String colName, org.jpy.PyObject gatherFunc)
      Creates a new Input.
      Parameters:
      colName - column name to be used as input.
      gatherFunc - function that gathers data into a Python object.
    • Input

      public Input(String[] colNames, org.jpy.PyObject gatherFunc)
      Creates a new Input.
      Parameters:
      colNames - array of column names to be used as inputs.
      gatherFunc - function that gathers data into a Python object.
    • Input

      public Input(String colName, Function<Object[],Object> gatherFunc)
      Creates a new Input.
      Parameters:
      colName - column name to be used as inputs.
      gatherFunc - function that gathers data into a Python object.
    • Input

      public Input(String[] colNames, Function<Object[],Object> gatherFunc)
      Creates a new Input.
      Parameters:
      colNames - array of column names to be used as inputs.
      gatherFunc - function that gathers data into a Python object.
  • Method Details

    • getColNames

      @ScriptApi public String[] getColNames()
      Gets the column names.
      Returns:
      the column names.
    • toString

      public String toString()
      Overrides:
      toString in class Object