Class ReinterpretedColumn<S,​D>

java.lang.Object
com.illumon.iris.db.v2.select.ReinterpretedColumn<S,​D>
All Implemented Interfaces:
SelectColumn

public class ReinterpretedColumn<S,​D>
extends Object
implements SelectColumn
  • Constructor Details

    • ReinterpretedColumn

      public ReinterpretedColumn​(@NotNull String sourceName, @NotNull Class<S> sourceDataType, @NotNull String destName, @NotNull Class<D> destDataType, Object... reinterpParams)
      Create a ReinterpretedColumn that attempts to convert the source column into the destination type, optionally with parameters.
      Parameters:
      sourceName - the name of the Source column within the table
      sourceDataType - the type of the source column
      destName - the name of the desired destination column
      destDataType - the type to try to convert to
      reinterpParams - a varargs set of parameters for the arguments if required.
  • Method Details