@Test void split() { final Mapper mapper = new LocalPartitionMapper("Root", "Test", "Plugin", null); assertEquals(1, mapper.assess()); assertEquals(singletonList(mapper), mapper.split(1)); assertEquals(singletonList(mapper), mapper.split(10)); assertEquals(singletonList(mapper), mapper.split(-159)); }
@Override public List<Mapper> split(final long desiredSize) { return new ArrayList<>(singletonList(this)); }
LocalPartitionMapper extends Named implements Mapper, Delegated { @Override public List<Mapper> split(final long desiredSize) { return new ArrayList<>(singletonList(this)); } }
LocalPartitionMapper extends Named implements Mapper, Delegated { @Override public List<Mapper> split(final long desiredSize) { return new ArrayList<>(singletonList(this)); } protected  LocalPartitionMapper();  LocalPartitionMapper(final String rootName, final String name, final String plugin,
            final Serializable instance); }
LocalPartitionMapper extends Named implements Mapper, Delegated { @Override public List<Mapper> split(final long desiredSize) { return new ArrayList<>(singletonList(this)); } protected  LocalPartitionMapper();  LocalPartitionMapper(final String rootName, final String name, final String plugin,
            final Serializable instance); @Override long assess(); @Override List<Mapper> split(final long desiredSize); @Override Input create(); @Override boolean isStream(); @Override void start(); @Override void stop(); @Override Object getDelegate(); }
LocalPartitionMapper extends Named implements Mapper, Delegated { @Override public List<Mapper> split(final long desiredSize) { return new ArrayList<>(singletonList(this)); } protected  LocalPartitionMapper();  LocalPartitionMapper(final String rootName, final String name, final String plugin,
            final Serializable instance); @Override long assess(); @Override List<Mapper> split(final long desiredSize); @Override Input create(); @Override boolean isStream(); @Override void start(); @Override void stop(); @Override Object getDelegate();  }