Database Reference
In-Depth Information
// Writes the given value out so it can be sent to the
// region servers.
public void write(DataOutput dataOutput) throws IOException {
Bytes.writeByteArray(dataOutput, this.value);
}
// Used by region servers to establish the filter
// instance with the correct values.
public void readFields(DataInput dataInput) throws IOException
{
this.value = Bytes.readByteArray(dataInput);
}
}
Summary
In this chapter, we learned about the advanced data modeling concepts such as
understanding keys in HBase. We learned the basics of table scanning in HBase
and the types of available ilters. We also covered the application of these ilters
for table scan operations using examples.
In the next chapter, we will take a look at HBase storage and the replication
architecture and also cover HBase over MapReduce in detail.
 
Search WWH ::




Custom Search