public class BinaryFieldMetadata extends Object implements Externalizable
| Constructor and Description |
|---|
BinaryFieldMetadata()
For
Externalizable. |
BinaryFieldMetadata(BinaryFieldAccessor accessor)
Constructor.
|
BinaryFieldMetadata(int typeId,
int fieldId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
fieldId() |
void |
readExternal(ObjectInput in) |
void |
readFrom(DataInput in)
The object implements the readFrom method to restore its
contents by calling the methods of DataInput for primitive
types and strings or calling readExternal for other objects.
|
String |
toString() |
int |
typeId() |
void |
writeExternal(ObjectOutput out) |
void |
writeTo(DataOutput out)
The object implements the writeTo method to save its contents
by calling the methods of DataOutput for its primitive values and strings or
calling the writeTo method for other objects.
|
public BinaryFieldMetadata()
Externalizable.public BinaryFieldMetadata(int typeId,
int fieldId)
typeId - Field type ID.fieldId - Field id in schema.public BinaryFieldMetadata(BinaryFieldAccessor accessor)
accessor - Field accessor.public int fieldId()
public int typeId()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void writeTo(DataOutput out) throws IOException
out - the stream to write the object to.IOException - Includes any I/O exceptions that may occur.public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void readFrom(DataInput in) throws IOException
in - the stream to read data from in order to restore the object.IOException - if I/O errors occur.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020