Package ai.h2o.featurestore.abfs
Class FeatureStoreSASTokenProvider
java.lang.Object
ai.h2o.featurestore.abfs.FeatureStoreSASTokenProvider
- All Implemented Interfaces:
org.apache.hadoop.fs.azurebfs.extensions.SASTokenProvider
public class FeatureStoreSASTokenProvider
extends Object
implements org.apache.hadoop.fs.azurebfs.extensions.SASTokenProvider
A class that provides SAS tokens for Feature Store operations on Azure Blob Storage.
-
Field Summary
Fields inherited from interface org.apache.hadoop.fs.azurebfs.extensions.SASTokenProvider
CHECK_ACCESS_OPERATION, CREATE_DIRECTORY_OPERATION, CREATE_FILE_OPERATION, DELETE_OPERATION, DELETE_RECURSIVE_OPERATION, GET_ACL_OPERATION, GET_PROPERTIES_OPERATION, GET_STATUS_OPERATION, LIST_OPERATION, READ_OPERATION, RENAME_DESTINATION_OPERATION, RENAME_SOURCE_OPERATION, SET_ACL_OPERATION, SET_OWNER_OPERATION, SET_PERMISSION_OPERATION, SET_PROPERTIES_OPERATION, WRITE_OPERATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSASToken(String account, String fileSystem, String path, String operation) voidinitialize(org.apache.hadoop.conf.Configuration configuration, String accountName)
-
Constructor Details
-
FeatureStoreSASTokenProvider
public FeatureStoreSASTokenProvider()
-
-
Method Details
-
initialize
public void initialize(org.apache.hadoop.conf.Configuration configuration, String accountName) throws IOException - Specified by:
initializein interfaceorg.apache.hadoop.fs.azurebfs.extensions.SASTokenProvider- Throws:
IOException
-
getSASToken
public String getSASToken(String account, String fileSystem, String path, String operation) throws IOException, org.apache.hadoop.security.AccessControlException - Specified by:
getSASTokenin interfaceorg.apache.hadoop.fs.azurebfs.extensions.SASTokenProvider- Throws:
IOExceptionorg.apache.hadoop.security.AccessControlException
-