@Test public void testNullParams() { try { ShuffledMergedInputConfiguration.newBuilder(null, "VALUE"); fail("Expecting a null parameter list to fail"); } catch (NullPointerException npe) { assertTrue(npe.getMessage().contains("cannot be null")); } try { ShuffledMergedInputConfiguration.newBuilder("KEY", null); fail("Expecting a null parameter list to fail"); } catch (NullPointerException npe) { assertTrue(npe.getMessage().contains("cannot be null")); } }
public static Builder newBuilder(String keyClass, String valueClass) { return new Builder(keyClass, valueClass); }
ShuffledMergedInputConfiguration { public static Builder newBuilder(String keyClass, String valueClass) { return new Builder(keyClass, valueClass); } }
ShuffledMergedInputConfiguration { public static Builder newBuilder(String keyClass, String valueClass) { return new Builder(keyClass, valueClass); } @InterfaceAudience.Private @VisibleForTesting  ShuffledMergedInputConfiguration(); private  ShuffledMergedInputConfiguration(Configuration conf, boolean useLegacyInput); }
ShuffledMergedInputConfiguration { public static Builder newBuilder(String keyClass, String valueClass) { return new Builder(keyClass, valueClass); } @InterfaceAudience.Private @VisibleForTesting  ShuffledMergedInputConfiguration(); private  ShuffledMergedInputConfiguration(Configuration conf, boolean useLegacyInput); byte[] toByteArray(); void fromByteArray(byte[] payload); String getInputClassName(); static Builder newBuilder(String keyClass, String valueClass); }
ShuffledMergedInputConfiguration { public static Builder newBuilder(String keyClass, String valueClass) { return new Builder(keyClass, valueClass); } @InterfaceAudience.Private @VisibleForTesting  ShuffledMergedInputConfiguration(); private  ShuffledMergedInputConfiguration(Configuration conf, boolean useLegacyInput); byte[] toByteArray(); void fromByteArray(byte[] payload); String getInputClassName(); static Builder newBuilder(String keyClass, String valueClass);  }