HBASE-12520 Add protected getters on TableInputFormatBase (Solomon Duskis)
This commit is contained in:
parent
69a437ac0d
commit
308db3a5c8
|
@ -285,6 +285,27 @@ extends InputFormat<ImmutableBytesWritable, Result> {
|
|||
return (HTable) this.table;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows subclasses to get the {@link RegionLocator}.
|
||||
*/
|
||||
protected RegionLocator getRegionLocator() {
|
||||
return regionLocator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows subclasses to get the {@link Table}.
|
||||
*/
|
||||
protected Table getTable() {
|
||||
return table;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows subclasses to get the {@link Admin}.
|
||||
*/
|
||||
protected Admin getAdmin() {
|
||||
return admin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows subclasses to set the {@link HTable}.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue