K
- The input type of this taskT
- the output type of this taskpublic abstract class MetastoreValidationTask<K,T> extends AbstractValidationTask
Modifier and Type | Field and Description |
---|---|
protected MetastoreValidationTask<?,K> |
mInputTask |
Constructor and Description |
---|
MetastoreValidationTask(MetastoreValidationTask<?,K> inputTask)
Create a new
MetastoreValidationTask with the given input task. |
Modifier and Type | Method and Description |
---|---|
ValidationTaskResult |
validateImpl(Map<String,String> optionMap) |
getOptionList, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
@Nullable protected final MetastoreValidationTask<?,K> mInputTask
public MetastoreValidationTask(@Nullable MetastoreValidationTask<?,K> inputTask)
MetastoreValidationTask
with the given input task. The input task may
be null if the validation is not a subtask.inputTask
- a pre-requisite task which must run before this taskpublic ValidationTaskResult validateImpl(Map<String,String> optionMap) throws InterruptedException
validateImpl
in class AbstractValidationTask
InterruptedException
Copyright © 2023. All Rights Reserved.