Class CalciteForeignValue.Converter

  • All Implemented Interfaces:
    org.apache.calcite.linq4j.function.Function<java.util.List<java.lang.Object>>, org.apache.calcite.linq4j.function.Function1<java.lang.Object[],​java.util.List<java.lang.Object>>
    Enclosing class:
    CalciteForeignValue

    private class CalciteForeignValue.Converter
    extends java.lang.Object
    implements org.apache.calcite.linq4j.function.Function1<java.lang.Object[],​java.util.List<java.lang.Object>>
    Converts from a Calcite row to an SML record.

    The Calcite row is represented as an array, ordered by field ordinal; the SML record is represented by a list, ordered by field name (lower-case if CalciteForeignValue.lower).

    • Constructor Summary

      Constructors 
      Constructor Description
      Converter​(org.apache.calcite.rel.type.RelDataType rowType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Object> apply​(java.lang.Object[] a)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Converter

        Converter​(org.apache.calcite.rel.type.RelDataType rowType)
    • Method Detail

      • apply

        public java.util.List<java.lang.Object> apply​(java.lang.Object[] a)
        Specified by:
        apply in interface org.apache.calcite.linq4j.function.Function1<java.lang.Object[],​java.util.List<java.lang.Object>>