Class MappingTest


  • public class MappingTest
    extends java.lang.Object
    Unit test for mappings.
    See Also:
    Mapping, Mappings
    • Constructor Summary

      Constructors 
      Constructor Description
      MappingTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testBijection()
      Unit test for Mappings.bijection(List).
      void testMappings()  
      void testMappingsAppend()
      Unit test for Mappings.append(org.apache.calcite.util.mapping.Mappings.TargetMapping, org.apache.calcite.util.mapping.Mappings.TargetMapping).
      void testMappingsCreateShiftMapping()
      Unit test for Mappings.createShiftMapping(int, int...).
      void testMappingsOffsetSource()
      Unit test for Mappings.offsetSource(org.apache.calcite.util.mapping.Mappings.TargetMapping, int).
      void testSource()
      Unit test for Mappings.source(List, int) and its converse, Mappings.asList(Mappings.TargetMapping).
      void testTarget()
      Unit test for Mappings.target(List, int).
      • Methods inherited from class java.lang.Object

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

      • MappingTest

        public MappingTest()
    • Method Detail

      • testMappings

        public void testMappings()
      • testMappingsCreateShiftMapping

        public void testMappingsCreateShiftMapping()
        Unit test for Mappings.createShiftMapping(int, int...).
      • testMappingsAppend

        public void testMappingsAppend()
        Unit test for Mappings.append(org.apache.calcite.util.mapping.Mappings.TargetMapping, org.apache.calcite.util.mapping.Mappings.TargetMapping).
      • testMappingsOffsetSource

        public void testMappingsOffsetSource()
        Unit test for Mappings.offsetSource(org.apache.calcite.util.mapping.Mappings.TargetMapping, int).
      • testSource

        public void testSource()
        Unit test for Mappings.source(List, int) and its converse, Mappings.asList(Mappings.TargetMapping).
      • testTarget

        public void testTarget()
        Unit test for Mappings.target(List, int).
      • testBijection

        public void testBijection()
        Unit test for Mappings.bijection(List).