@ThreadSafe public final class LineageMasterClientServiceHandler extends Object implements LineageMasterClientService.Iface
Modifier and Type | Method and Description |
---|---|
CreateLineageTResponse |
createLineage(List<String> inputFiles,
List<String> outputFiles,
CommandLineJobInfo jobInfo,
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.
|
GetServiceVersionTResponse |
getServiceVersion(GetServiceVersionTOptions options)
Returns the version of the master service.
|
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.
|
public GetServiceVersionTResponse getServiceVersion(GetServiceVersionTOptions options)
AlluxioService.Iface
getServiceVersion
in interface AlluxioService.Iface
options
- the method optionspublic CreateLineageTResponse createLineage(List<String> inputFiles, List<String> outputFiles, CommandLineJobInfo jobInfo, CreateLineageTOptions options) throws AlluxioTException
LineageMasterClientService.Iface
createLineage
in interface LineageMasterClientService.Iface
inputFiles
- the list of input filesoutputFiles
- the list of output filesjobInfo
- the command line job infooptions
- the method optionsAlluxioTException
public DeleteLineageTResponse deleteLineage(long lineageId, boolean cascade, DeleteLineageTOptions options) throws AlluxioTException
LineageMasterClientService.Iface
deleteLineage
in interface LineageMasterClientService.Iface
lineageId
- the lineage idcascade
- whether to delete the lineage in cascadeoptions
- the method optionsAlluxioTException
public GetLineageInfoListTResponse getLineageInfoList(GetLineageInfoListTOptions options) throws AlluxioTException
LineageMasterClientService.Iface
getLineageInfoList
in interface LineageMasterClientService.Iface
options
- the method optionsAlluxioTException
public ReinitializeFileTResponse reinitializeFile(String path, long blockSizeBytes, long ttl, TTtlAction ttlAction, ReinitializeFileTOptions options) throws AlluxioTException
LineageMasterClientService.Iface
reinitializeFile
in interface LineageMasterClientService.Iface
path
- the path of the fileblockSizeBytes
- block size in bytesttl
- time to livettlAction
- expiry actionoptions
- the method optionsAlluxioTException
public ReportLostFileTResponse reportLostFile(String path, ReportLostFileTOptions options) throws AlluxioTException
LineageMasterClientService.Iface
reportLostFile
in interface LineageMasterClientService.Iface
path
- the path of the fileoptions
- the method optionsAlluxioTException
Copyright © 2023. All Rights Reserved.