public abstract static class XmlIO.ReadFiles<T> extends PTransform<PCollection<FileIO.ReadableFile>,PCollection<T>>
XmlIO.readFiles().name| Constructor and Description |
|---|
ReadFiles() |
| Modifier and Type | Method and Description |
|---|---|
PCollection<T> |
expand(PCollection<FileIO.ReadableFile> input) |
XmlIO.ReadFiles<T> |
withCharset(Charset charset)
|
XmlIO.ReadFiles<T> |
withRecordClass(Class<T> recordClass)
|
XmlIO.ReadFiles<T> |
withRecordElement(String recordElement)
|
XmlIO.ReadFiles<T> |
withRootElement(String rootElement)
|
XmlIO.ReadFiles<T> |
withValidationEventHandler(ValidationEventHandler validationEventHandler)
|
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, populateDisplayData, toString, validatepublic XmlIO.ReadFiles<T> withRootElement(String rootElement)
public XmlIO.ReadFiles<T> withRecordElement(String recordElement)
public XmlIO.ReadFiles<T> withRecordClass(Class<T> recordClass)
public XmlIO.ReadFiles<T> withCharset(Charset charset)
public XmlIO.ReadFiles<T> withValidationEventHandler(ValidationEventHandler validationEventHandler)
public PCollection<T> expand(PCollection<FileIO.ReadableFile> input)
expand in class PTransform<PCollection<FileIO.ReadableFile>,PCollection<T>>Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.