HBASE-12520 Add protected getters on TableInputFormatBase (Solomon Duskis)
This commit is contained in:
parent
53d775f242
commit
86dc3cab96
|
@ -285,6 +285,27 @@ extends InputFormat<ImmutableBytesWritable, Result> {
|
||||||
return (HTable) this.table;
|
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}.
|
* Allows subclasses to set the {@link HTable}.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue