Package org.springframework.xd.hadoop.fs

Examples of org.springframework.xd.hadoop.fs.HdfsTextFileWriterFactory


  }

  @Override
  public synchronized HdfsWritingMessageHandler getObject() throws Exception {
    if (handler == null) {
      HdfsTextFileWriterFactory writerFactory = new HdfsTextFileWriterFactory(this.fileSystem);
      writerFactory.setBasePath(this.basePath);
      writerFactory.setBaseFilename(this.baseFilename);
      writerFactory.setFileSuffix(fileSuffix);
      writerFactory.setRolloverThresholdInBytes(rolloverThresholdInBytes);
      this.handler = new HdfsWritingMessageHandler(writerFactory);
      if (this.autoStartup != null) {
        this.handler.setAutoStartup(this.autoStartup);
      }
    }
View Full Code Here

TOP

Related Classes of org.springframework.xd.hadoop.fs.HdfsTextFileWriterFactory

Copyright © 2018 www.massapicom. 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.