public abstract class RecordCountProvider extends Object
| Constructor and Description |
|---|
RecordCountProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.Path |
convertPath(org.apache.hadoop.fs.Path path,
String extension,
RecordCountProvider src)
Convert a
Path from another RecordCountProvider so that it can be used
in getRecordCount(Path) of this RecordCountProvider. |
protected org.apache.commons.lang3.NotImplementedException |
getNotImplementedException(RecordCountProvider src) |
long |
getRecordCount(Collection<org.apache.hadoop.fs.Path> paths)
Get record count for a list of paths.
|
abstract long |
getRecordCount(org.apache.hadoop.fs.Path path)
Get record count from a given
Path. |
public abstract long getRecordCount(org.apache.hadoop.fs.Path path)
Path.public org.apache.hadoop.fs.Path convertPath(org.apache.hadoop.fs.Path path,
String extension,
RecordCountProvider src)
Path from another RecordCountProvider so that it can be used
in getRecordCount(Path) of this RecordCountProvider.protected org.apache.commons.lang3.NotImplementedException getNotImplementedException(RecordCountProvider src)
public long getRecordCount(Collection<org.apache.hadoop.fs.Path> paths)