|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRestSerializer
Interface that is implemented to return serialized objects back to the output stream.
Method Summary | |
---|---|
void |
serializeCell(Cell cell)
serialize a cell object to the output stream Implementation of this method is optional, IF all the work is done in the writeOutput(Object o) method |
void |
serializeCellArray(Cell[] cells)
serialize a Cell array to the output stream |
void |
serializeColumnDescriptor(HColumnDescriptor column)
serialize an HColumnDescriptor to the output stream. |
void |
serializeDatabaseMetadata(DatabaseModel.DatabaseMetadata databaseMetadata)
serialize the database metadata Implementation of this method is optional, IF all the work is done in the writeOutput(Object o) method |
void |
serializeRegionData(TableModel.Regions regions)
serialize the region data for a table to the output stream Implementation of this method is optional, IF all the work is done in the writeOutput(Object o) method |
void |
serializeRowResult(RowResult rowResult)
serialize a RowResult object to the output stream Implementation of this method is optional, IF all the work is done in the writeOutput(Object o) method |
void |
serializeRowResultArray(RowResult[] rows)
serialize a RowResult array to the output stream Implementation of this method is optional, IF all the work is done in the writeOutput(Object o) method |
void |
serializeScannerIdentifier(ScannerIdentifier scannerIdentifier)
serialize the ScannerIdentifier object to the output stream Implementation of this method is optional, IF all the work is done in the writeOutput(Object o) method |
void |
serializeStatusMessage(Status.StatusMessage message)
serialize the status message object to the output stream Implementation of this method is optional, IF all the work is done in the writeOutput(Object o) method |
void |
serializeTableDescriptor(HTableDescriptor tableDescriptor)
serialize the HTableDescriptor object Implementation of this method is optional, IF all the work is done in the writeOutput(Object o) method |
void |
serializeTimestamps(TimestampsDescriptor timestampsDescriptor)
serialize a description of the timestamps available for a row to the output stream. |
void |
writeOutput(Object o)
Serializes an object into the appropriate format and writes it to the output stream. |
Method Detail |
---|
void writeOutput(Object o) throws HBaseRestException
o
-
HBaseRestException
void serializeDatabaseMetadata(DatabaseModel.DatabaseMetadata databaseMetadata) throws HBaseRestException
databaseMetadata
-
HBaseRestException
void serializeTableDescriptor(HTableDescriptor tableDescriptor) throws HBaseRestException
tableDescriptor
-
HBaseRestException
void serializeColumnDescriptor(HColumnDescriptor column) throws HBaseRestException
column
-
HBaseRestException
void serializeRegionData(TableModel.Regions regions) throws HBaseRestException
regions
-
HBaseRestException
void serializeStatusMessage(Status.StatusMessage message) throws HBaseRestException
message
-
HBaseRestException
void serializeScannerIdentifier(ScannerIdentifier scannerIdentifier) throws HBaseRestException
scannerIdentifier
-
HBaseRestException
void serializeRowResult(RowResult rowResult) throws HBaseRestException
rowResult
-
HBaseRestException
void serializeRowResultArray(RowResult[] rows) throws HBaseRestException
rows
-
HBaseRestException
void serializeCell(Cell cell) throws HBaseRestException
cell
-
HBaseRestException
void serializeCellArray(Cell[] cells) throws HBaseRestException
cells
-
HBaseRestException
void serializeTimestamps(TimestampsDescriptor timestampsDescriptor) throws HBaseRestException
timestampsDescriptor
-
HBaseRestException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |