Examples of ChangeSink


Examples of org.openstreetmap.osmosis.core.task.v0_6.ChangeSink

    return changeSorter;
  }


  private void writeChangeset(XmlChangeReader xmlReader) {
    final ChangeSink localChangeSink = changeSink;

    xmlReader.setChangeSink(new ChangeSink() {
      private ChangeSink suppressedWriter = localChangeSink;


      @Override
      public void initialize(Map<String, Object> metaData) {
View Full Code Here

Examples of org.openstreetmap.osmosis.core.task.v0_6.ChangeSink

  /**
   * {@inheritDoc}
   */
  @Override
  protected void processChangeset(XmlChangeReader xmlReader, ReplicationState replicationState) {
    final ChangeSink localChangeSink = changeSorter;
   
    xmlReader.setChangeSink(new ChangeSink() {
      private ChangeSink suppressedChangeSink = localChangeSink;

      @Override
      public void initialize(Map<String, Object> metaData) {
        // Suppress the call.
View Full Code Here

Examples of org.openstreetmap.osmosis.core.task.v0_6.ChangeSink

     
      // Connect the tasks.
      source.setSink(sink);
    }
    for (int i = 0; i < task.getChangeSinkCount(); i++) {
      ChangeSink changeSink;
      ChangeSource changeSource;
     
      // Retrieve the next sink.
      changeSink = task.getChangeSink(i);
     
View Full Code Here

Examples of org.openstreetmap.osmosis.core.task.v0_6.ChangeSink

  @Override
  public void connect(PipeTasks pipeTasks) {
    // A multi sink receives multiple streams of data, so we must connect
    // them up one by one.
    for (int i = 0; i < task.getChangeSinkCount(); i++) {
      ChangeSink sink;
      ChangeSource source;
     
      // Retrieve the next sink.
      sink = task.getChangeSink(i);
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.