org.apache.pig.impl.io
Class ValidatingInputFileSpec
java.lang.Object
org.apache.pig.impl.io.FileSpec
org.apache.pig.impl.io.ValidatingInputFileSpec
- All Implemented Interfaces:
- Serializable
public class ValidatingInputFileSpec
- extends FileSpec
Creates a Slicer using its funcSpec in its construction and checks that it's
valid.
- See Also:
- Serialized Form
Method Summary |
Slicer |
getSlicer()
Returns the Slicer created by this spec's funcSpec. |
ValidatingInputFileSpec
public ValidatingInputFileSpec(FileSpec fileSpec,
DataStorage store)
throws IOException
- Throws:
IOException
ValidatingInputFileSpec
public ValidatingInputFileSpec(String fileName,
String funcSpec,
PigContext context)
throws IOException
- If the
ExecType
of context
is LOCAL,
validation is not performed.
- Throws:
IOException
getSlicer
public Slicer getSlicer()
- Returns the Slicer created by this spec's funcSpec.
Copyright © ${year} The Apache Software Foundation