org.apache.pig.impl.io
Class FileSpec

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

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

See Also:
Serialized Form

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

Constructor Detail

FileSpec

public FileSpec(String fileName,
                FuncSpec funcSpec)
Method Detail

getFileName

public String getFileName()

getFuncSpec

public FuncSpec getFuncSpec()

toString

public String toString()
Overrides:
toString in class Object

getFuncName

public String getFuncName()

getSize

public int getSize()

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2007-2012 The Apache Software Foundation