public static interface LineageMasterClientService.Iface extends AlluxioService.Iface
Modifier and Type | Method and Description |
---|---|
CreateLineageTResponse |
createLineage(List<String> inputFiles,
List<String> outputFiles,
CommandLineJobInfo job,
CreateLineageTOptions options)
Creates a lineage and returns the lineage id.
|
DeleteLineageTResponse |
deleteLineage(long lineageId,
boolean cascade,
DeleteLineageTOptions options)
Deletes a lineage and returns whether the deletion succeeded.
|
GetLineageInfoListTResponse |
getLineageInfoList(GetLineageInfoListTOptions options)
Returns a list of existing lineages.
|
ReinitializeFileTResponse |
reinitializeFile(String path,
long blockSizeBytes,
long ttl,
TTtlAction ttlAction,
ReinitializeFileTOptions options)
Reinitializes a file.
|
ReportLostFileTResponse |
reportLostFile(String path,
ReportLostFileTOptions options)
Reports file as lost.
|
getServiceVersion
CreateLineageTResponse createLineage(List<String> inputFiles, List<String> outputFiles, CommandLineJobInfo job, CreateLineageTOptions options) throws AlluxioTException, org.apache.thrift.TException
inputFiles
- the list of input filesoutputFiles
- the list of output filesjob
- the command line job infooptions
- the method optionsAlluxioTException
org.apache.thrift.TException
DeleteLineageTResponse deleteLineage(long lineageId, boolean cascade, DeleteLineageTOptions options) throws AlluxioTException, org.apache.thrift.TException
lineageId
- the lineage idcascade
- whether to delete the lineage in cascadeoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
GetLineageInfoListTResponse getLineageInfoList(GetLineageInfoListTOptions options) throws AlluxioTException, org.apache.thrift.TException
options
- the method optionsAlluxioTException
org.apache.thrift.TException
ReinitializeFileTResponse reinitializeFile(String path, long blockSizeBytes, long ttl, TTtlAction ttlAction, ReinitializeFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the fileblockSizeBytes
- block size in bytesttl
- time to livettlAction
- expiry actionoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
ReportLostFileTResponse reportLostFile(String path, ReportLostFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
path
- the path of the fileoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.