|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.zebra.schema.Schema.ColumnSchema
public static class Schema.ColumnSchema
Column Schema in Schema
| Constructor Summary | |
|---|---|
Schema.ColumnSchema(Schema.ColumnSchema cs)
copy ctor |
|
Schema.ColumnSchema(String a,
ColumnType t)
construct a ColumnSchema for a native type |
|
Schema.ColumnSchema(String a,
Schema s)
construct a Column schema for a RECORD column type |
|
Schema.ColumnSchema(String a,
Schema s,
ColumnType t)
construct a column schema for a complex column type |
|
| Method Summary | |
|---|---|
static boolean |
equals(Schema.ColumnSchema fschema,
Schema.ColumnSchema fother)
Compare two field schema for equality |
int |
getIndex()
access function to get the column name |
String |
getName()
access function to get the column name |
Schema |
getSchema()
|
ColumnType |
getType()
access function to get the column type |
String |
toString()
string representation of the schema |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Schema.ColumnSchema(String a,
ColumnType t)
a - column namet - native column type
public Schema.ColumnSchema(String a,
Schema s)
a - column names - column schema
public Schema.ColumnSchema(String a,
Schema s,
ColumnType t)
throws ParseException
a - column names - column schemat - complex column type
ParseExceptionpublic Schema.ColumnSchema(Schema.ColumnSchema cs)
cs - source column schema| Method Detail |
|---|
public String getName()
public ColumnType getType()
public int getIndex()
public static boolean equals(Schema.ColumnSchema fschema,
Schema.ColumnSchema fother)
fschema - one column schema to be comparedfother - the other column schema to be compared
public String toString()
toString in class Objectpublic Schema getSchema()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||