org.apache.pig.data.utils
Class StructuresHelper.SchemaKey
java.lang.Object
org.apache.pig.data.utils.StructuresHelper.SchemaKey
- Enclosing class:
- StructuresHelper
public static class StructuresHelper.SchemaKey
- extends Object
This encapsulates a Schema and allows it to be used in such a way that
any aliases are ignored in equality.
StructuresHelper.SchemaKey
public StructuresHelper.SchemaKey(Schema s)
hashCode
public int hashCode()
- The hashcode logic is taken from the Schema class, including how fields
are handled. The difference is that aliases are ignored.
- Overrides:
hashCode
in class Object
hashCode
public static int hashCode(Schema s)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
get
public Schema get()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2012 The Apache Software Foundation