Class CalciteForeignValue.FieldConverter

  • Enclosing class:
    CalciteForeignValue

    private abstract static class CalciteForeignValue.FieldConverter
    extends java.lang.Object
    Converts a field from Calcite to SML format.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) Type mlType  
      (package private) int ordinal  
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldConverter​(Type mlType, int ordinal)  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.lang.Object convertFrom​(java.lang.Object[] sourceValues)
      Given a Calcite row, returns the value of this field in SML format.
      • Methods inherited from class java.lang.Object

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

      • mlType

        final Type mlType
      • ordinal

        final int ordinal
    • Constructor Detail

      • FieldConverter

        FieldConverter​(Type mlType,
                       int ordinal)
    • Method Detail

      • convertFrom

        public abstract java.lang.Object convertFrom​(java.lang.Object[] sourceValues)
        Given a Calcite row, returns the value of this field in SML format.