@Test public void testNullParams() { try { ShuffledUnorderedKVInputConfiguration.newBuilder(null, "VALUE"); fail("Expecting a null parameter list to fail"); } catch (NullPointerException npe) { assertTrue(npe.getMessage().contains("cannot be null")); } try { ShuffledUnorderedKVInputConfiguration.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); }
ShuffledUnorderedKVInputConfiguration { public static Builder newBuilder(String keyClass, String valueClass) { return new Builder(keyClass, valueClass); } }
ShuffledUnorderedKVInputConfiguration { public static Builder newBuilder(String keyClass, String valueClass) { return new Builder(keyClass, valueClass); } @InterfaceAudience.Private @VisibleForTesting  ShuffledUnorderedKVInputConfiguration(); private  ShuffledUnorderedKVInputConfiguration(Configuration conf); }
ShuffledUnorderedKVInputConfiguration { public static Builder newBuilder(String keyClass, String valueClass) { return new Builder(keyClass, valueClass); } @InterfaceAudience.Private @VisibleForTesting  ShuffledUnorderedKVInputConfiguration(); private  ShuffledUnorderedKVInputConfiguration(Configuration conf); byte[] toByteArray(); void fromByteArray(byte[] payload); static Builder newBuilder(String keyClass, String valueClass); }
ShuffledUnorderedKVInputConfiguration { public static Builder newBuilder(String keyClass, String valueClass) { return new Builder(keyClass, valueClass); } @InterfaceAudience.Private @VisibleForTesting  ShuffledUnorderedKVInputConfiguration(); private  ShuffledUnorderedKVInputConfiguration(Configuration conf); byte[] toByteArray(); void fromByteArray(byte[] payload); static Builder newBuilder(String keyClass, String valueClass);  }