public class PortableSchema extends Object implements Externalizable
| Modifier and Type | Class and Description |
|---|---|
static class |
PortableSchema.Builder
Schema builder.
|
static class |
PortableSchema.Confirmation
Order confirmation result.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ORDER_NOT_FOUND
Order returned if field is not found.
|
| Constructor and Description |
|---|
PortableSchema()
Externalizable support. |
| Modifier and Type | Method and Description |
|---|---|
void |
clarifyFieldName(int order,
String name)
Add field name.
|
PortableSchema.Confirmation |
confirmOrder(int expOrder,
String expName)
Try speculatively confirming order for the given field name.
|
boolean |
equals(Object o) |
int |
fieldId(int order)
Get field ID by order in footer.
|
int |
hashCode() |
int |
order(int id)
Get field order in footer by field ID.
|
void |
readExternal(ObjectInput in) |
int |
schemaId() |
void |
writeExternal(ObjectOutput out) |
public static final int ORDER_NOT_FOUND
public PortableSchema()
Externalizable support.public int schemaId()
public PortableSchema.Confirmation confirmOrder(int expOrder, String expName)
expOrder - Expected order.expName - Expected name.public void clarifyFieldName(int order,
String name)
order - Order.name - Name.public int fieldId(int order)
order - Order.public int order(int id)
id - Field ID.0 if there is no such field.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0-b1 Release Date : December 1 2015