|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ResourceSchema.ResourceFieldSchema | |
---|---|
org.apache.pig | Public interfaces and classes for Pig. |
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators | |
org.apache.pig.backend.hadoop.hbase | |
org.apache.pig.builtin | This package contains builtin Pig UDFs. |
org.apache.pig.data | This package contains implementations of Pig specific data types as well as support functions for reading, writing, and using all Pig data types. |
org.apache.pig.impl.util | |
org.apache.pig.piggybank.storage.avro |
Uses of ResourceSchema.ResourceFieldSchema in org.apache.pig |
---|
Methods in org.apache.pig that return ResourceSchema.ResourceFieldSchema | |
---|---|
ResourceSchema.ResourceFieldSchema[] |
ResourceSchema.getFields()
Get field schema for each field |
ResourceSchema.ResourceFieldSchema |
ResourceSchema.ResourceFieldSchema.setDescription(String description)
Set the description |
ResourceSchema.ResourceFieldSchema |
ResourceSchema.ResourceFieldSchema.setName(String name)
Set the name of this filed. |
ResourceSchema.ResourceFieldSchema |
ResourceSchema.ResourceFieldSchema.setSchema(ResourceSchema schema)
Set the schema for this field. |
ResourceSchema.ResourceFieldSchema |
ResourceSchema.ResourceFieldSchema.setType(byte type)
Set the type of this field |
Methods in org.apache.pig with parameters of type ResourceSchema.ResourceFieldSchema | |
---|---|
DataBag |
LoadCaster.bytesToBag(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
Cast data from bytearray to bag value. |
Map<String,Object> |
LoadCaster.bytesToMap(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
Cast data from bytearray to map value. |
Tuple |
LoadCaster.bytesToTuple(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
Cast data from bytearray to tuple value. |
ResourceSchema |
ResourceSchema.setFields(ResourceSchema.ResourceFieldSchema[] fields)
Set all the fields. |
Uses of ResourceSchema.ResourceFieldSchema in org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators |
---|
Methods in org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators with parameters of type ResourceSchema.ResourceFieldSchema | |
---|---|
void |
POCast.setFieldSchema(ResourceSchema.ResourceFieldSchema s)
|
Uses of ResourceSchema.ResourceFieldSchema in org.apache.pig.backend.hadoop.hbase |
---|
Methods in org.apache.pig.backend.hadoop.hbase with parameters of type ResourceSchema.ResourceFieldSchema | |
---|---|
DataBag |
HBaseBinaryConverter.bytesToBag(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
NOT IMPLEMENTED |
Map<String,Object> |
HBaseBinaryConverter.bytesToMap(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
NOT IMPLEMENTED |
Tuple |
HBaseBinaryConverter.bytesToTuple(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
NOT IMPLEMENTED |
Uses of ResourceSchema.ResourceFieldSchema in org.apache.pig.builtin |
---|
Methods in org.apache.pig.builtin with parameters of type ResourceSchema.ResourceFieldSchema | |
---|---|
DataBag |
Utf8StorageConverter.bytesToBag(byte[] b,
ResourceSchema.ResourceFieldSchema schema)
|
DataBag |
TextLoader.bytesToBag(byte[] b,
ResourceSchema.ResourceFieldSchema schema)
TextLoader does not support conversion to Bag |
Map<String,Object> |
Utf8StorageConverter.bytesToMap(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
|
Map<String,Object> |
TextLoader.bytesToMap(byte[] b,
ResourceSchema.ResourceFieldSchema schema)
TextLoader does not support conversion to Map |
Tuple |
Utf8StorageConverter.bytesToTuple(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
|
Tuple |
TextLoader.bytesToTuple(byte[] b,
ResourceSchema.ResourceFieldSchema schema)
TextLoader does not support conversion to Tuple |
Uses of ResourceSchema.ResourceFieldSchema in org.apache.pig.data |
---|
Methods in org.apache.pig.data with parameters of type ResourceSchema.ResourceFieldSchema | |
---|---|
static Schema.FieldSchema |
DataType.determineFieldSchema(ResourceSchema.ResourceFieldSchema rcFieldSchema)
Determine the field schema of an ResourceFieldSchema |
Uses of ResourceSchema.ResourceFieldSchema in org.apache.pig.impl.util |
---|
Methods in org.apache.pig.impl.util with parameters of type ResourceSchema.ResourceFieldSchema | |
---|---|
static Object |
CastUtils.convertToType(LoadCaster caster,
byte[] bytes,
ResourceSchema.ResourceFieldSchema fieldSchema,
byte dataType)
|
Uses of ResourceSchema.ResourceFieldSchema in org.apache.pig.piggybank.storage.avro |
---|
Methods in org.apache.pig.piggybank.storage.avro that return ResourceSchema.ResourceFieldSchema | |
---|---|
static ResourceSchema.ResourceFieldSchema |
AvroSchema2Pig.getPigSchema(byte pigType,
String fieldName)
Wrap a pig type to a field schema |
static ResourceSchema.ResourceFieldSchema |
AvroStorageUtils.wrapAsTuple(ResourceSchema.ResourceFieldSchema subFieldSchema)
wrap a pig schema as tuple |
Methods in org.apache.pig.piggybank.storage.avro with parameters of type ResourceSchema.ResourceFieldSchema | |
---|---|
protected static void |
AvroSchema2Pig.add2BagSchema(ResourceSchema.ResourceFieldSchema fieldSchema,
ResourceSchema.ResourceFieldSchema subFieldSchema)
Add a field schema to a bag schema |
protected static org.apache.avro.Schema |
PigSchema2Avro.convert(ResourceSchema.ResourceFieldSchema pigSchema,
boolean nullable)
Convert a Pig ResourceFieldSchema to avro schema |
protected static org.apache.avro.Schema |
PigSchema2Avro.convertRecord(ResourceSchema.ResourceFieldSchema[] pigFields,
boolean nullable)
Convert pig data to Avro record |
protected static boolean |
PigSchema2Avro.isCompatible(org.apache.avro.Schema avroSchema,
ResourceSchema.ResourceFieldSchema pigSchema)
Check whether Avro type is compatible with Pig type |
static boolean |
AvroStorageUtils.isTupleWrapper(ResourceSchema.ResourceFieldSchema pigSchema)
check whether it is just a wrapped tuple |
protected static org.apache.avro.Schema |
PigSchema2Avro.validateAndConvert(org.apache.avro.Schema avroSchema,
ResourceSchema.ResourceFieldSchema pigSchema)
Validate whether pigSchema is compatible with avroSchema and convert those Pig fields with to corresponding Avro schemas. |
protected static org.apache.avro.Schema |
PigSchema2Avro.validateAndConvertRecord(org.apache.avro.Schema avroSchema,
ResourceSchema.ResourceFieldSchema[] pigFields)
Validate a Pig tuple is compatible with Avro record. |
static ResourceSchema.ResourceFieldSchema |
AvroStorageUtils.wrapAsTuple(ResourceSchema.ResourceFieldSchema subFieldSchema)
wrap a pig schema as tuple |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |