Class EmptyComponents


  • public final class EmptyComponents
    extends java.lang.Object
    Empty components to mock transform and source, for tests and examples.
    • Field Detail

      • EMPTY_TRANSFORM

        public static final Transform EMPTY_TRANSFORM
    • Method Detail

      • buildEmptyDAG

        public static IRDAG buildEmptyDAG()
        Builds dummy IR DAG for testing.
        Returns:
        the dummy IR DAG.
      • buildEmptyDAGForSkew

        public static IRDAG buildEmptyDAGForSkew()
        Builds dummy IR DAG to test skew handling. For DataSkewPolicy, shuffle edges needs extra setting for EncoderProperty, DecoderProperty and KeyExtractorProperty by default.
        Returns:
        the dummy IR DAG.