org.apache.pig.piggybank.storage
Class PigStorageSchema
java.lang.Object
org.apache.pig.LoadFunc
org.apache.pig.FileInputLoadFunc
org.apache.pig.builtin.PigStorage
org.apache.pig.piggybank.storage.PigStorageSchema
- All Implemented Interfaces:
- LoadMetadata, LoadPushDown, OrderedLoadFunc, OverwritableStoreFunc, StoreFuncInterface, StoreMetadata
Deprecated. Use PigStorage with a -schema option instead
@Deprecated
public class PigStorageSchema
- extends PigStorage
- implements LoadMetadata, StoreMetadata
This Load/Store Func reads/writes metafiles that allow the schema and
aliases to be determined at load time, saving one from having to manually
enter schemas for pig-generated datasets.
It also creates a ".pig_headers" file that simply lists the delimited aliases.
This is intended to make export to tools that can read files with header
lines easier (just cat the header to your data).
| Methods inherited from class org.apache.pig.builtin.PigStorage |
checkSchema, cleanupOnFailure, cleanupOnSuccess, cleanupOutput, equals, equals, getFeatures, getInputFormat, getNext, getOutputFormat, getPartitionKeys, getSchema, getStatistics, hashCode, prepareToRead, prepareToWrite, pushProjection, putNext, readField, relToAbsPathForStoreLocation, setLocation, setPartitionFilter, setStoreFuncUDFContextSignature, setStoreLocation, setUDFContextSignature, shouldOverwrite, storeSchema, storeStatistics |
PigStorageSchema
public PigStorageSchema()
- Deprecated.
PigStorageSchema
public PigStorageSchema(String delim)
- Deprecated.
Copyright © 2007-2012 The Apache Software Foundation