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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getSASToken(String account, String fileSystem, String path, String operation)
     
    void
    initialize(org.apache.hadoop.conf.Configuration configuration, String accountName)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FeatureStoreSASTokenProvider

      public FeatureStoreSASTokenProvider()
  • Method Details

    • initialize

      public void initialize(org.apache.hadoop.conf.Configuration configuration, String accountName) throws IOException
      Specified by:
      initialize in interface org.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:
      getSASToken in interface org.apache.hadoop.fs.azurebfs.extensions.SASTokenProvider
      Throws:
      IOException
      org.apache.hadoop.security.AccessControlException