checkTable
Scans the requested tables as specified intableNamesfor integrity. Any table chunks which fail the check will be marked as corrupt. By default the database will automatically repair corrupt tables (via truncating). Note that since this reads every table column from disk it may be a potentially long-running operation. The optionLOCAL_ONLYcan be used to skip any table files already written to a remote storage. Returns table corruption results.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.checkTable
public CheckTableResponse checkTable(List<String> tableNames, Map<String, String> options) throws GPUdbException Scans the requested tables as specified intableNamesfor integrity. Any table chunks which fail the check will be marked as corrupt. By default the database will automatically repair corrupt tables (via truncating). Note that since this reads every table column from disk it may be a potentially long-running operation. The optionLOCAL_ONLYcan be used to skip any table files already written to a remote storage. Returns table corruption results.Parameters:tableNames- List of tables to query. An asterisk returns all tables.options- Optional parameters.LOCAL_ONLY: IfTRUEonly locally persisted files will be checked. Supported values:The default value isFALSE.SHOW_DETAIL: IfTRUEreports individual chunk errors. Supported values:The default value isTRUE.
Map.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.