org.apache.pig.impl.io
Class FileSpec

java.lang.Object
  extended by org.apache.pig.impl.io.FileSpec
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ValidatingInputFileSpec

public class FileSpec
extends Object
implements Serializable

A simple class that specifies a file name and storage function which is used to read/write it

Author:
utkarsh
See Also:
Serialized Form

Constructor Summary
FileSpec(String fileName, String funcSpec)
           
 
Method Summary
 String getFileName()
           
 String getFuncName()
           
 String getFuncSpec()
           
 int getSize()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileSpec

public FileSpec(String fileName,
                String funcSpec)
Method Detail

getFileName

public String getFileName()

getFuncSpec

public String getFuncSpec()

toString

public String toString()
Overrides:
toString in class Object

getFuncName

public String getFuncName()

getSize

public int getSize()


Copyright © ${year} The Apache Software Foundation