filesystem

package
v67.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package filesystem implements the Azure ARM Filesystem service API version 2016-11-01.

Creates an Azure Data Lake Store filesystem client.

Index

Constants

View Source
const (
	// DefaultAdlsFileSystemDNSSuffix is the default value for adls file system dns suffix
	DefaultAdlsFileSystemDNSSuffix = "azuredatalakestore.net"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type ACLStatus

type ACLStatus struct {
	// Entries - the list of ACLSpec entries on a file or directory.
	Entries *[]string `json:"entries,omitempty"`
	// Group - the group owner, an AAD Object ID.
	Group *string `json:"group,omitempty"`
	// Owner - the user owner, an AAD Object ID.
	Owner *string `json:"owner,omitempty"`
	// Permission - The octal representation of the unnamed user, mask and other permissions.
	Permission *string `json:"permission,omitempty"`
	// StickyBit - READ-ONLY; the indicator of whether the sticky bit is on or off.
	StickyBit *bool `json:"stickyBit,omitempty"`
}

ACLStatus data Lake Store file or directory Access Control List information.

func (ACLStatus) MarshalJSON

func (as ACLStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ACLStatus.

type ACLStatusResult

type ACLStatusResult struct {
	autorest.Response `json:"-"`
	// ACLStatus - the AclStatus object for a given file or directory.
	ACLStatus *ACLStatus `json:"aclStatus,omitempty"`
}

ACLStatusResult data Lake Store file or directory Access Control List information.

type AdlsAccessControlException

type AdlsAccessControlException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsAccessControlException a WebHDFS exception thrown indicating that access is denied due to insufficient permissions. Thrown when a 403 error response code is returned (forbidden).

func (AdlsAccessControlException) AsAdlsAccessControlException

func (aace AdlsAccessControlException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsBadOffsetException

func (aace AdlsAccessControlException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsFileAlreadyExistsException

func (aace AdlsAccessControlException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsFileNotFoundException

func (aace AdlsAccessControlException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsIOException

func (aace AdlsAccessControlException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsIllegalArgumentException

func (aace AdlsAccessControlException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsRemoteException

func (aace AdlsAccessControlException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsRuntimeException

func (aace AdlsAccessControlException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsSecurityException

func (aace AdlsAccessControlException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsThrottledException

func (aace AdlsAccessControlException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsUnsupportedOperationException

func (aace AdlsAccessControlException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsBasicAdlsRemoteException

func (aace AdlsAccessControlException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) MarshalJSON

func (aace AdlsAccessControlException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsAccessControlException.

type AdlsBadOffsetException

type AdlsBadOffsetException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsBadOffsetException a WebHDFS exception thrown indicating the append or read is from a bad offset. Thrown when a 400 error response code is returned for append and open operations (Bad request).

func (AdlsBadOffsetException) AsAdlsAccessControlException

func (aboe AdlsBadOffsetException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsBadOffsetException

func (aboe AdlsBadOffsetException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsFileAlreadyExistsException

func (aboe AdlsBadOffsetException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsFileNotFoundException

func (aboe AdlsBadOffsetException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsIOException

func (aboe AdlsBadOffsetException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsIllegalArgumentException

func (aboe AdlsBadOffsetException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsRemoteException

func (aboe AdlsBadOffsetException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsRuntimeException

func (aboe AdlsBadOffsetException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsSecurityException

func (aboe AdlsBadOffsetException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsThrottledException

func (aboe AdlsBadOffsetException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsUnsupportedOperationException

func (aboe AdlsBadOffsetException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsBasicAdlsRemoteException

func (aboe AdlsBadOffsetException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) MarshalJSON

func (aboe AdlsBadOffsetException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsBadOffsetException.

type AdlsError

type AdlsError struct {
	// RemoteException - READ-ONLY; the object representing the actual WebHDFS exception being returned.
	RemoteException BasicAdlsRemoteException `json:"remoteException,omitempty"`
}

AdlsError data Lake Store filesystem error containing a specific WebHDFS exception.

func (AdlsError) MarshalJSON

func (ae AdlsError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsError.

func (*AdlsError) UnmarshalJSON

func (ae *AdlsError) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AdlsError struct.

type AdlsFileAlreadyExistsException

type AdlsFileAlreadyExistsException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsFileAlreadyExistsException a WebHDFS exception thrown indicating the file or folder already exists. Thrown when a 403 error response code is returned (forbidden).

func (AdlsFileAlreadyExistsException) AsAdlsAccessControlException

func (afaee AdlsFileAlreadyExistsException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsBadOffsetException

func (afaee AdlsFileAlreadyExistsException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsFileAlreadyExistsException

func (afaee AdlsFileAlreadyExistsException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsFileNotFoundException

func (afaee AdlsFileAlreadyExistsException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsIOException

func (afaee AdlsFileAlreadyExistsException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsIllegalArgumentException

func (afaee AdlsFileAlreadyExistsException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsRemoteException

func (afaee AdlsFileAlreadyExistsException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsRuntimeException

func (afaee AdlsFileAlreadyExistsException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsSecurityException

func (afaee AdlsFileAlreadyExistsException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsThrottledException

func (afaee AdlsFileAlreadyExistsException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsUnsupportedOperationException

func (afaee AdlsFileAlreadyExistsException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsBasicAdlsRemoteException

func (afaee AdlsFileAlreadyExistsException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) MarshalJSON

func (afaee AdlsFileAlreadyExistsException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsFileAlreadyExistsException.

type AdlsFileNotFoundException

type AdlsFileNotFoundException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsFileNotFoundException a WebHDFS exception thrown indicating the file or folder could not be found. Thrown when a 404 error response code is returned (not found).

func (AdlsFileNotFoundException) AsAdlsAccessControlException

func (afnfe AdlsFileNotFoundException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsBadOffsetException

func (afnfe AdlsFileNotFoundException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsFileAlreadyExistsException

func (afnfe AdlsFileNotFoundException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsFileNotFoundException

func (afnfe AdlsFileNotFoundException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsIOException

func (afnfe AdlsFileNotFoundException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsIllegalArgumentException

func (afnfe AdlsFileNotFoundException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsRemoteException

func (afnfe AdlsFileNotFoundException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsRuntimeException

func (afnfe AdlsFileNotFoundException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsSecurityException

func (afnfe AdlsFileNotFoundException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsThrottledException

func (afnfe AdlsFileNotFoundException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsUnsupportedOperationException

func (afnfe AdlsFileNotFoundException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsBasicAdlsRemoteException

func (afnfe AdlsFileNotFoundException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) MarshalJSON

func (afnfe AdlsFileNotFoundException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsFileNotFoundException.

type AdlsIOException

type AdlsIOException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsIOException a WebHDFS exception thrown indicating there was an IO (read or write) error. Thrown when a 403 error response code is returned (forbidden).

func (AdlsIOException) AsAdlsAccessControlException

func (aie AdlsIOException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsBadOffsetException

func (aie AdlsIOException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsFileAlreadyExistsException

func (aie AdlsIOException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsFileNotFoundException

func (aie AdlsIOException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsIOException

func (aie AdlsIOException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsIllegalArgumentException

func (aie AdlsIOException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsRemoteException

func (aie AdlsIOException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsRuntimeException

func (aie AdlsIOException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsSecurityException

func (aie AdlsIOException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsThrottledException

func (aie AdlsIOException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsUnsupportedOperationException

func (aie AdlsIOException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsBasicAdlsRemoteException

func (aie AdlsIOException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) MarshalJSON

func (aie AdlsIOException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsIOException.

type AdlsIllegalArgumentException

type AdlsIllegalArgumentException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsIllegalArgumentException a WebHDFS exception thrown indicating that one more arguments is incorrect. Thrown when a 400 error response code is returned (bad request).

func (AdlsIllegalArgumentException) AsAdlsAccessControlException

func (aiae AdlsIllegalArgumentException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsBadOffsetException

func (aiae AdlsIllegalArgumentException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsFileAlreadyExistsException

func (aiae AdlsIllegalArgumentException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsFileNotFoundException

func (aiae AdlsIllegalArgumentException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsIOException

func (aiae AdlsIllegalArgumentException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsIllegalArgumentException

func (aiae AdlsIllegalArgumentException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsRemoteException

func (aiae AdlsIllegalArgumentException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsRuntimeException

func (aiae AdlsIllegalArgumentException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsSecurityException

func (aiae AdlsIllegalArgumentException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsThrottledException

func (aiae AdlsIllegalArgumentException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsUnsupportedOperationException

func (aiae AdlsIllegalArgumentException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsBasicAdlsRemoteException

func (aiae AdlsIllegalArgumentException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) MarshalJSON

func (aiae AdlsIllegalArgumentException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsIllegalArgumentException.

type AdlsRemoteException

type AdlsRemoteException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsRemoteException data Lake Store filesystem exception based on the WebHDFS definition for RemoteExceptions. This is a WebHDFS 'catch all' exception

func (AdlsRemoteException) AsAdlsAccessControlException

func (are AdlsRemoteException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsBadOffsetException

func (are AdlsRemoteException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsFileAlreadyExistsException

func (are AdlsRemoteException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsFileNotFoundException

func (are AdlsRemoteException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsIOException

func (are AdlsRemoteException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsIllegalArgumentException

func (are AdlsRemoteException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsRemoteException

func (are AdlsRemoteException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsRuntimeException

func (are AdlsRemoteException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsSecurityException

func (are AdlsRemoteException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsThrottledException

func (are AdlsRemoteException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsUnsupportedOperationException

func (are AdlsRemoteException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsBasicAdlsRemoteException

func (are AdlsRemoteException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) MarshalJSON

func (are AdlsRemoteException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsRemoteException.

type AdlsRuntimeException

type AdlsRuntimeException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsRuntimeException a WebHDFS exception thrown when an unexpected error occurs during an operation. Thrown when a 500 error response code is returned (Internal server error).

func (AdlsRuntimeException) AsAdlsAccessControlException

func (are AdlsRuntimeException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsBadOffsetException

func (are AdlsRuntimeException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsFileAlreadyExistsException

func (are AdlsRuntimeException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsFileNotFoundException

func (are AdlsRuntimeException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsIOException

func (are AdlsRuntimeException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsIllegalArgumentException

func (are AdlsRuntimeException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsRemoteException

func (are AdlsRuntimeException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsRuntimeException

func (are AdlsRuntimeException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsSecurityException

func (are AdlsRuntimeException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsThrottledException

func (are AdlsRuntimeException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsUnsupportedOperationException

func (are AdlsRuntimeException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsBasicAdlsRemoteException

func (are AdlsRuntimeException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) MarshalJSON

func (are AdlsRuntimeException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsRuntimeException.

type AdlsSecurityException

type AdlsSecurityException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsSecurityException a WebHDFS exception thrown indicating that access is denied. Thrown when a 401 error response code is returned (Unauthorized).

func (AdlsSecurityException) AsAdlsAccessControlException

func (ase AdlsSecurityException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsBadOffsetException

func (ase AdlsSecurityException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsFileAlreadyExistsException

func (ase AdlsSecurityException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsFileNotFoundException

func (ase AdlsSecurityException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsIOException

func (ase AdlsSecurityException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsIllegalArgumentException

func (ase AdlsSecurityException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsRemoteException

func (ase AdlsSecurityException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsRuntimeException

func (ase AdlsSecurityException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsSecurityException

func (ase AdlsSecurityException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsThrottledException

func (ase AdlsSecurityException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsUnsupportedOperationException

func (ase AdlsSecurityException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsBasicAdlsRemoteException

func (ase AdlsSecurityException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) MarshalJSON

func (ase AdlsSecurityException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsSecurityException.

type AdlsThrottledException

type AdlsThrottledException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsThrottledException a WebHDFS exception thrown indicating that the request is being throttled. Reducing the number of requests or request size helps to mitigate this error.

func (AdlsThrottledException) AsAdlsAccessControlException

func (ate AdlsThrottledException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsBadOffsetException

func (ate AdlsThrottledException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsFileAlreadyExistsException

func (ate AdlsThrottledException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsFileNotFoundException

func (ate AdlsThrottledException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsIOException

func (ate AdlsThrottledException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsIllegalArgumentException

func (ate AdlsThrottledException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsRemoteException

func (ate AdlsThrottledException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsRuntimeException

func (ate AdlsThrottledException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsSecurityException

func (ate AdlsThrottledException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsThrottledException

func (ate AdlsThrottledException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsUnsupportedOperationException

func (ate AdlsThrottledException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsBasicAdlsRemoteException

func (ate AdlsThrottledException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) MarshalJSON

func (ate AdlsThrottledException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsThrottledException.

type AdlsUnsupportedOperationException

type AdlsUnsupportedOperationException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException', 'ExceptionThrottledException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsUnsupportedOperationException a WebHDFS exception thrown indicating that the requested operation is not supported. Thrown when a 400 error response code is returned (bad request).

func (AdlsUnsupportedOperationException) AsAdlsAccessControlException

func (auoe AdlsUnsupportedOperationException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsBadOffsetException

func (auoe AdlsUnsupportedOperationException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsFileAlreadyExistsException

func (auoe AdlsUnsupportedOperationException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsFileNotFoundException

func (auoe AdlsUnsupportedOperationException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsIOException

func (auoe AdlsUnsupportedOperationException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsIllegalArgumentException

func (auoe AdlsUnsupportedOperationException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsRemoteException

func (auoe AdlsUnsupportedOperationException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsRuntimeException

func (auoe AdlsUnsupportedOperationException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsSecurityException

func (auoe AdlsUnsupportedOperationException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsThrottledException

func (auoe AdlsUnsupportedOperationException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsUnsupportedOperationException

func (auoe AdlsUnsupportedOperationException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsBasicAdlsRemoteException

func (auoe AdlsUnsupportedOperationException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) MarshalJSON

func (auoe AdlsUnsupportedOperationException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsUnsupportedOperationException.

type AppendModeType

type AppendModeType string

AppendModeType enumerates the values for append mode type.

const (
	// Autocreate ...
	Autocreate AppendModeType = "autocreate"
)

func PossibleAppendModeTypeValues

func PossibleAppendModeTypeValues() []AppendModeType

PossibleAppendModeTypeValues returns an array of possible values for the AppendModeType const type.

type BaseClient

type BaseClient struct {
	autorest.Client
	AdlsFileSystemDNSSuffix string
}

BaseClient is the base client for Filesystem.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults

func NewWithoutDefaults(adlsFileSystemDNSSuffix string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

type BasicAdlsRemoteException

type BasicAdlsRemoteException interface {
	AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)
	AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)
	AsAdlsSecurityException() (*AdlsSecurityException, bool)
	AsAdlsIOException() (*AdlsIOException, bool)
	AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)
	AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)
	AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)
	AsAdlsRuntimeException() (*AdlsRuntimeException, bool)
	AsAdlsAccessControlException() (*AdlsAccessControlException, bool)
	AsAdlsThrottledException() (*AdlsThrottledException, bool)
	AsAdlsRemoteException() (*AdlsRemoteException, bool)
}

BasicAdlsRemoteException data Lake Store filesystem exception based on the WebHDFS definition for RemoteExceptions. This is a WebHDFS 'catch all' exception

type Client

type Client struct {
	BaseClient
}

Client is the creates an Azure Data Lake Store filesystem client.

func NewClient

func NewClient() Client

NewClient creates an instance of the Client client.

func (Client) Append

func (client Client) Append(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, offset *int64, syncFlag SyncFlag, leaseID *uuid.UUID, fileSessionID *uuid.UUID) (result autorest.Response, err error)

Append used for serial appends to the specified file. NOTE: The target must not contain data added by ConcurrentAppend. ConcurrentAppend and Append cannot be used interchangeably; once a target file has been modified using either of these append options, the other append option cannot be used on the target file. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file to which to append. streamContents - the file contents to include when appending to the file. The maximum content size is 4MB. For content larger than 4MB you must append the content in 4MB chunks. offset - the optional offset in the stream to begin the append operation. Default is to append at the end of the stream. syncFlag - optionally indicates what to do after completion of the concurrent append. DATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata (including file length, last modified time) should NOT get updated. METADATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata should get updated. CLOSE indicates that the client is done sending data, the file handle should be closed/unlocked, and file metadata should get updated. leaseID - optional unique GUID per file to ensure single writer semantics, meaning that only clients that append to the file with the same leaseId will be allowed to do so. fileSessionID - optional unique GUID per file indicating all the appends with the same fileSessionId are from the same client and same session. This will give a performance benefit when syncFlag is DATA or METADATA.

func (Client) AppendPreparer

func (client Client) AppendPreparer(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, offset *int64, syncFlag SyncFlag, leaseID *uuid.UUID, fileSessionID *uuid.UUID) (*http.Request, error)

AppendPreparer prepares the Append request.

func (Client) AppendResponder

func (client Client) AppendResponder(resp *http.Response) (result autorest.Response, err error)

AppendResponder handles the response to the Append request. The method always closes the http.Response Body.

func (Client) AppendSender

func (client Client) AppendSender(req *http.Request) (*http.Response, error)

AppendSender sends the Append request. The method will close the http.Response Body if it receives an error.

func (Client) CheckAccess

func (client Client) CheckAccess(ctx context.Context, accountName string, pathParameter string, fsaction string) (result autorest.Response, err error)

CheckAccess checks if the specified access is available at the given path. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory for which to check access. fsaction - file system operation read/write/execute in string form, matching regex pattern '[rwx-]{3}'

func (Client) CheckAccessPreparer

func (client Client) CheckAccessPreparer(ctx context.Context, accountName string, pathParameter string, fsaction string) (*http.Request, error)

CheckAccessPreparer prepares the CheckAccess request.

func (Client) CheckAccessResponder

func (client Client) CheckAccessResponder(resp *http.Response) (result autorest.Response, err error)

CheckAccessResponder handles the response to the CheckAccess request. The method always closes the http.Response Body.

func (Client) CheckAccessSender

func (client Client) CheckAccessSender(req *http.Request) (*http.Response, error)

CheckAccessSender sends the CheckAccess request. The method will close the http.Response Body if it receives an error.

func (Client) Concat

func (client Client) Concat(ctx context.Context, accountName string, pathParameter string, sources []string) (result autorest.Response, err error)

Concat concatenates the list of source files into the destination file, removing all source files upon success. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the destination file resulting from the concatenation. sources - a list of comma separated Data Lake Store paths (starting with '/') of the files to concatenate, in the order in which they should be concatenated.

func (Client) ConcatPreparer

func (client Client) ConcatPreparer(ctx context.Context, accountName string, pathParameter string, sources []string) (*http.Request, error)

ConcatPreparer prepares the Concat request.

func (Client) ConcatResponder

func (client Client) ConcatResponder(resp *http.Response) (result autorest.Response, err error)

ConcatResponder handles the response to the Concat request. The method always closes the http.Response Body.

func (Client) ConcatSender

func (client Client) ConcatSender(req *http.Request) (*http.Response, error)

ConcatSender sends the Concat request. The method will close the http.Response Body if it receives an error.

func (Client) ConcurrentAppend

func (client Client) ConcurrentAppend(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, appendMode AppendModeType, syncFlag SyncFlag) (result autorest.Response, err error)

ConcurrentAppend appends to the specified file, optionally first creating the file if it does not yet exist. This method supports multiple concurrent appends to the file. NOTE: The target must not contain data added by Create or normal (serial) Append. ConcurrentAppend and Append cannot be used interchangeably; once a target file has been modified using either of these append options, the other append option cannot be used on the target file. ConcurrentAppend does not guarantee order and can result in duplicated data landing in the target file. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file to which to append using concurrent append. streamContents - the file contents to include when appending to the file. The maximum content size is 4MB. For content larger than 4MB you must append the content in 4MB chunks. appendMode - indicates the concurrent append call should create the file if it doesn't exist or just open the existing file for append syncFlag - optionally indicates what to do after completion of the concurrent append. DATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata (including file length, last modified time) should NOT get updated. METADATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata should get updated. CLOSE indicates that the client is done sending data, the file handle should be closed/unlocked, and file metadata should get updated.

func (Client) ConcurrentAppendPreparer

func (client Client) ConcurrentAppendPreparer(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, appendMode AppendModeType, syncFlag SyncFlag) (*http.Request, error)

ConcurrentAppendPreparer prepares the ConcurrentAppend request.

func (Client) ConcurrentAppendResponder

func (client Client) ConcurrentAppendResponder(resp *http.Response) (result autorest.Response, err error)

ConcurrentAppendResponder handles the response to the ConcurrentAppend request. The method always closes the http.Response Body.

func (Client) ConcurrentAppendSender

func (client Client) ConcurrentAppendSender(req *http.Request) (*http.Response, error)

ConcurrentAppendSender sends the ConcurrentAppend request. The method will close the http.Response Body if it receives an error.

func (Client) Create

func (client Client) Create(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, overwrite *bool, syncFlag SyncFlag, leaseID *uuid.UUID, permission *int32) (result autorest.Response, err error)

Create creates a file with optionally specified content. NOTE: If content is provided, the resulting file cannot be modified using ConcurrentAppend. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file to create. streamContents - the file contents to include when creating the file. This parameter is optional, resulting in an empty file if not specified. The maximum content size is 4MB. For content larger than 4MB you must append the content in 4MB chunks. overwrite - the indication of if the file should be overwritten. syncFlag - optionally indicates what to do after completion of the create. DATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata (including file length, last modified time) should NOT get updated. METADATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata should get updated. CLOSE indicates that the client is done sending data, the file handle should be closed/unlocked, and file metadata should get updated. leaseID - optional unique GUID per file to ensure single writer semantics, meaning that only clients that append to the file with the same leaseId will be allowed to do so. permission - the octal representation of the unnamed user, mask and other permissions that should be set for the file when created. If not specified, it inherits these from the container.

func (Client) CreatePreparer

func (client Client) CreatePreparer(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, overwrite *bool, syncFlag SyncFlag, leaseID *uuid.UUID, permission *int32) (*http.Request, error)

CreatePreparer prepares the Create request.

func (Client) CreateResponder

func (client Client) CreateResponder(resp *http.Response) (result autorest.Response, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (Client) CreateSender

func (client Client) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (Client) Delete

func (client Client) Delete(ctx context.Context, accountName string, pathParameter string, recursive *bool) (result FileOperationResult, err error)

Delete deletes the requested file or directory, optionally recursively. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory to delete. recursive - the optional switch indicating if the delete should be recursive

func (Client) DeletePreparer

func (client Client) DeletePreparer(ctx context.Context, accountName string, pathParameter string, recursive *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (Client) DeleteResponder

func (client Client) DeleteResponder(resp *http.Response) (result FileOperationResult, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (Client) DeleteSender

func (client Client) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (Client) GetACLStatus

func (client Client) GetACLStatus(ctx context.Context, accountName string, pathParameter string, tooID *bool) (result ACLStatusResult, err error)

GetACLStatus gets Access Control List (ACL) entries for the specified file or directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory for which to get the ACL. tooID - an optional switch to return friendly names in place of object ID for ACL entries. tooId=false returns friendly names instead of the AAD Object ID. Default value is true, returning AAD object IDs.

func (Client) GetACLStatusPreparer

func (client Client) GetACLStatusPreparer(ctx context.Context, accountName string, pathParameter string, tooID *bool) (*http.Request, error)

GetACLStatusPreparer prepares the GetACLStatus request.

func (Client) GetACLStatusResponder

func (client Client) GetACLStatusResponder(resp *http.Response) (result ACLStatusResult, err error)

GetACLStatusResponder handles the response to the GetACLStatus request. The method always closes the http.Response Body.

func (Client) GetACLStatusSender

func (client Client) GetACLStatusSender(req *http.Request) (*http.Response, error)

GetACLStatusSender sends the GetACLStatus request. The method will close the http.Response Body if it receives an error.

func (Client) GetContentSummary

func (client Client) GetContentSummary(ctx context.Context, accountName string, pathParameter string) (result ContentSummaryResult, err error)

GetContentSummary gets the file content summary object specified by the file path. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file for which to retrieve the summary.

func (Client) GetContentSummaryPreparer

func (client Client) GetContentSummaryPreparer(ctx context.Context, accountName string, pathParameter string) (*http.Request, error)

GetContentSummaryPreparer prepares the GetContentSummary request.

func (Client) GetContentSummaryResponder

func (client Client) GetContentSummaryResponder(resp *http.Response) (result ContentSummaryResult, err error)

GetContentSummaryResponder handles the response to the GetContentSummary request. The method always closes the http.Response Body.

func (Client) GetContentSummarySender

func (client Client) GetContentSummarySender(req *http.Request) (*http.Response, error)

GetContentSummarySender sends the GetContentSummary request. The method will close the http.Response Body if it receives an error.

func (Client) GetFileStatus

func (client Client) GetFileStatus(ctx context.Context, accountName string, pathParameter string, tooID *bool) (result FileStatusResult, err error)

GetFileStatus get the file status object specified by the file path. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory for which to retrieve the status. tooID - an optional switch to return friendly names in place of owner and group. tooId=false returns friendly names instead of the AAD Object ID. Default value is true, returning AAD object IDs.

func (Client) GetFileStatusPreparer

func (client Client) GetFileStatusPreparer(ctx context.Context, accountName string, pathParameter string, tooID *bool) (*http.Request, error)

GetFileStatusPreparer prepares the GetFileStatus request.

func (Client) GetFileStatusResponder

func (client Client) GetFileStatusResponder(resp *http.Response) (result FileStatusResult, err error)

GetFileStatusResponder handles the response to the GetFileStatus request. The method always closes the http.Response Body.

func (Client) GetFileStatusSender

func (client Client) GetFileStatusSender(req *http.Request) (*http.Response, error)

GetFileStatusSender sends the GetFileStatus request. The method will close the http.Response Body if it receives an error.

func (Client) ListFileStatus

func (client Client) ListFileStatus(ctx context.Context, accountName string, pathParameter string, listSize *int32, listAfter string, listBefore string, tooID *bool) (result FileStatusesResult, err error)

ListFileStatus get the list of file status objects specified by the file path, with optional pagination parameters Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the directory to list. listSize - gets or sets the number of items to return. Optional. listAfter - gets or sets the item or lexicographical index after which to begin returning results. For example, a file list of 'a','b','d' and listAfter='b' will return 'd', and a listAfter='c' will also return 'd'. Optional. listBefore - gets or sets the item or lexicographical index before which to begin returning results. For example, a file list of 'a','b','d' and listBefore='d' will return 'a','b', and a listBefore='c' will also return 'a','b'. Optional. tooID - an optional switch to return friendly names in place of owner and group. tooId=false returns friendly names instead of the AAD Object ID. Default value is true, returning AAD object IDs.

func (Client) ListFileStatusPreparer

func (client Client) ListFileStatusPreparer(ctx context.Context, accountName string, pathParameter string, listSize *int32, listAfter string, listBefore string, tooID *bool) (*http.Request, error)

ListFileStatusPreparer prepares the ListFileStatus request.

func (Client) ListFileStatusResponder

func (client Client) ListFileStatusResponder(resp *http.Response) (result FileStatusesResult, err error)

ListFileStatusResponder handles the response to the ListFileStatus request. The method always closes the http.Response Body.

func (Client) ListFileStatusSender

func (client Client) ListFileStatusSender(req *http.Request) (*http.Response, error)

ListFileStatusSender sends the ListFileStatus request. The method will close the http.Response Body if it receives an error.

func (Client) Mkdirs

func (client Client) Mkdirs(ctx context.Context, accountName string, pathParameter string, permission *int32) (result FileOperationResult, err error)

Mkdirs creates a directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the directory to create. permission - optional octal permission with which the directory should be created.

func (Client) MkdirsPreparer

func (client Client) MkdirsPreparer(ctx context.Context, accountName string, pathParameter string, permission *int32) (*http.Request, error)

MkdirsPreparer prepares the Mkdirs request.

func (Client) MkdirsResponder

func (client Client) MkdirsResponder(resp *http.Response) (result FileOperationResult, err error)

MkdirsResponder handles the response to the Mkdirs request. The method always closes the http.Response Body.

func (Client) MkdirsSender

func (client Client) MkdirsSender(req *http.Request) (*http.Response, error)

MkdirsSender sends the Mkdirs request. The method will close the http.Response Body if it receives an error.

func (Client) ModifyACLEntries

func (client Client) ModifyACLEntries(ctx context.Context, accountName string, pathParameter string, aclspec string) (result autorest.Response, err error)

ModifyACLEntries modifies existing Access Control List (ACL) entries on a file or folder. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory with the ACL being modified. aclspec - the ACL specification included in ACL modification operations in the format '[default:]user|group|other::r|-w|-x|-'

func (Client) ModifyACLEntriesPreparer

func (client Client) ModifyACLEntriesPreparer(ctx context.Context, accountName string, pathParameter string, aclspec string) (*http.Request, error)

ModifyACLEntriesPreparer prepares the ModifyACLEntries request.

func (Client) ModifyACLEntriesResponder

func (client Client) ModifyACLEntriesResponder(resp *http.Response) (result autorest.Response, err error)

ModifyACLEntriesResponder handles the response to the ModifyACLEntries request. The method always closes the http.Response Body.

func (Client) ModifyACLEntriesSender

func (client Client) ModifyACLEntriesSender(req *http.Request) (*http.Response, error)

ModifyACLEntriesSender sends the ModifyACLEntries request. The method will close the http.Response Body if it receives an error.

func (Client) MsConcat

func (client Client) MsConcat(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, deleteSourceDirectory *bool) (result autorest.Response, err error)

MsConcat concatenates the list of source files into the destination file, deleting all source files upon success. This method accepts more source file paths than the Concat method. This method and the parameters it accepts are subject to change for usability in an upcoming version. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the destination file resulting from the concatenation. streamContents - a list of Data Lake Store paths (starting with '/') of the source files. Must be a comma-separated path list in the format: sources=/file/path/1.txt,/file/path/2.txt,/file/path/lastfile.csv deleteSourceDirectory - indicates that as an optimization instead of deleting each individual source stream, delete the source stream folder if all streams are in the same folder instead. This results in a substantial performance improvement when the only streams in the folder are part of the concatenation operation. WARNING: This includes the deletion of any other files that are not source files. Only set this to true when source files are the only files in the source directory.

func (Client) MsConcatPreparer

func (client Client) MsConcatPreparer(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, deleteSourceDirectory *bool) (*http.Request, error)

MsConcatPreparer prepares the MsConcat request.

func (Client) MsConcatResponder

func (client Client) MsConcatResponder(resp *http.Response) (result autorest.Response, err error)

MsConcatResponder handles the response to the MsConcat request. The method always closes the http.Response Body.

func (Client) MsConcatSender

func (client Client) MsConcatSender(req *http.Request) (*http.Response, error)

MsConcatSender sends the MsConcat request. The method will close the http.Response Body if it receives an error.

func (Client) Open

func (client Client) Open(ctx context.Context, accountName string, pathParameter string, length *int64, offset *int64, fileSessionID *uuid.UUID) (result ReadCloser, err error)

Open opens and reads from the specified file. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file to open. length - the number of bytes that the server will attempt to retrieve. It will retrieve <= length bytes. offset - the byte offset to start reading data from. fileSessionID - optional unique GUID per file indicating all the reads with the same fileSessionId are from the same client and same session. This will give a performance benefit.

func (Client) OpenPreparer

func (client Client) OpenPreparer(ctx context.Context, accountName string, pathParameter string, length *int64, offset *int64, fileSessionID *uuid.UUID) (*http.Request, error)

OpenPreparer prepares the Open request.

func (Client) OpenResponder

func (client Client) OpenResponder(resp *http.Response) (result ReadCloser, err error)

OpenResponder handles the response to the Open request. The method always closes the http.Response Body.

func (Client) OpenSender

func (client Client) OpenSender(req *http.Request) (*http.Response, error)

OpenSender sends the Open request. The method will close the http.Response Body if it receives an error.

func (Client) RemoveACL

func (client Client) RemoveACL(ctx context.Context, accountName string, pathParameter string) (result autorest.Response, err error)

RemoveACL removes the existing Access Control List (ACL) of the specified file or directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory with the ACL being removed.

func (Client) RemoveACLEntries

func (client Client) RemoveACLEntries(ctx context.Context, accountName string, pathParameter string, aclspec string) (result autorest.Response, err error)

RemoveACLEntries removes existing Access Control List (ACL) entries for a file or folder. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory with the ACL being removed. aclspec - the ACL spec included in ACL removal operations in the format '[default:]user|group|other'

func (Client) RemoveACLEntriesPreparer

func (client Client) RemoveACLEntriesPreparer(ctx context.Context, accountName string, pathParameter string, aclspec string) (*http.Request, error)

RemoveACLEntriesPreparer prepares the RemoveACLEntries request.

func (Client) RemoveACLEntriesResponder

func (client Client) RemoveACLEntriesResponder(resp *http.Response) (result autorest.Response, err error)

RemoveACLEntriesResponder handles the response to the RemoveACLEntries request. The method always closes the http.Response Body.

func (Client) RemoveACLEntriesSender

func (client Client) RemoveACLEntriesSender(req *http.Request) (*http.Response, error)

RemoveACLEntriesSender sends the RemoveACLEntries request. The method will close the http.Response Body if it receives an error.

func (Client) RemoveACLPreparer

func (client Client) RemoveACLPreparer(ctx context.Context, accountName string, pathParameter string) (*http.Request, error)

RemoveACLPreparer prepares the RemoveACL request.

func (Client) RemoveACLResponder

func (client Client) RemoveACLResponder(resp *http.Response) (result autorest.Response, err error)

RemoveACLResponder handles the response to the RemoveACL request. The method always closes the http.Response Body.

func (Client) RemoveACLSender

func (client Client) RemoveACLSender(req *http.Request) (*http.Response, error)

RemoveACLSender sends the RemoveACL request. The method will close the http.Response Body if it receives an error.

func (Client) RemoveDefaultACL

func (client Client) RemoveDefaultACL(ctx context.Context, accountName string, pathParameter string) (result autorest.Response, err error)

RemoveDefaultACL removes the existing Default Access Control List (ACL) of the specified directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the directory with the default ACL being removed.

func (Client) RemoveDefaultACLPreparer

func (client Client) RemoveDefaultACLPreparer(ctx context.Context, accountName string, pathParameter string) (*http.Request, error)

RemoveDefaultACLPreparer prepares the RemoveDefaultACL request.

func (Client) RemoveDefaultACLResponder

func (client Client) RemoveDefaultACLResponder(resp *http.Response) (result autorest.Response, err error)

RemoveDefaultACLResponder handles the response to the RemoveDefaultACL request. The method always closes the http.Response Body.

func (Client) RemoveDefaultACLSender

func (client Client) RemoveDefaultACLSender(req *http.Request) (*http.Response, error)

RemoveDefaultACLSender sends the RemoveDefaultACL request. The method will close the http.Response Body if it receives an error.

func (Client) Rename

func (client Client) Rename(ctx context.Context, accountName string, pathParameter string, destination string) (result FileOperationResult, err error)

Rename rename a file or directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory to move/rename. destination - the path to move/rename the file or folder to

func (Client) RenamePreparer

func (client Client) RenamePreparer(ctx context.Context, accountName string, pathParameter string, destination string) (*http.Request, error)

RenamePreparer prepares the Rename request.

func (Client) RenameResponder

func (client Client) RenameResponder(resp *http.Response) (result FileOperationResult, err error)

RenameResponder handles the response to the Rename request. The method always closes the http.Response Body.

func (Client) RenameSender

func (client Client) RenameSender(req *http.Request) (*http.Response, error)

RenameSender sends the Rename request. The method will close the http.Response Body if it receives an error.

func (Client) SetACL

func (client Client) SetACL(ctx context.Context, accountName string, pathParameter string, aclspec string) (result autorest.Response, err error)

SetACL sets the Access Control List (ACL) for a file or folder. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory on which to set the ACL. aclspec - the ACL spec included in ACL creation operations in the format '[default:]user|group|other::r|-w|-x|-'

func (Client) SetACLPreparer

func (client Client) SetACLPreparer(ctx context.Context, accountName string, pathParameter string, aclspec string) (*http.Request, error)

SetACLPreparer prepares the SetACL request.

func (Client) SetACLResponder

func (client Client) SetACLResponder(resp *http.Response) (result autorest.Response, err error)

SetACLResponder handles the response to the SetACL request. The method always closes the http.Response Body.

func (Client) SetACLSender

func (client Client) SetACLSender(req *http.Request) (*http.Response, error)

SetACLSender sends the SetACL request. The method will close the http.Response Body if it receives an error.

func (Client) SetFileExpiry

func (client Client) SetFileExpiry(ctx context.Context, accountName string, pathParameter string, expiryOption ExpiryOptionType, expireTime *int64) (result autorest.Response, err error)

SetFileExpiry sets or removes the expiration time on the specified file. This operation can only be executed against files. Folders are not supported. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file on which to set or remove the expiration time. expiryOption - indicates the type of expiration to use for the file: 1. NeverExpire: ExpireTime is ignored. 2. RelativeToNow: ExpireTime is an integer in milliseconds representing the expiration date relative to when file expiration is updated. 3. RelativeToCreationDate: ExpireTime is an integer in milliseconds representing the expiration date relative to file creation. 4. Absolute: ExpireTime is an integer in milliseconds, as a Unix timestamp relative to 1/1/1970 00:00:00. expireTime - the time that the file will expire, corresponding to the ExpiryOption that was set.

func (Client) SetFileExpiryPreparer

func (client Client) SetFileExpiryPreparer(ctx context.Context, accountName string, pathParameter string, expiryOption ExpiryOptionType, expireTime *int64) (*http.Request, error)

SetFileExpiryPreparer prepares the SetFileExpiry request.

func (Client) SetFileExpiryResponder

func (client Client) SetFileExpiryResponder(resp *http.Response) (result autorest.Response, err error)

SetFileExpiryResponder handles the response to the SetFileExpiry request. The method always closes the http.Response Body.

func (Client) SetFileExpirySender

func (client Client) SetFileExpirySender(req *http.Request) (*http.Response, error)

SetFileExpirySender sends the SetFileExpiry request. The method will close the http.Response Body if it receives an error.

func (Client) SetOwner

func (client Client) SetOwner(ctx context.Context, accountName string, pathParameter string, owner string, group string) (result autorest.Response, err error)

SetOwner sets the owner of a file or directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory for which to set the owner. owner - the AAD Object ID of the user owner of the file or directory. If empty, the property will remain unchanged. group - the AAD Object ID of the group owner of the file or directory. If empty, the property will remain unchanged.

func (Client) SetOwnerPreparer

func (client Client) SetOwnerPreparer(ctx context.Context, accountName string, pathParameter string, owner string, group string) (*http.Request, error)

SetOwnerPreparer prepares the SetOwner request.

func (Client) SetOwnerResponder

func (client Client) SetOwnerResponder(resp *http.Response) (result autorest.Response, err error)

SetOwnerResponder handles the response to the SetOwner request. The method always closes the http.Response Body.

func (Client) SetOwnerSender

func (client Client) SetOwnerSender(req *http.Request) (*http.Response, error)

SetOwnerSender sends the SetOwner request. The method will close the http.Response Body if it receives an error.

func (Client) SetPermission

func (client Client) SetPermission(ctx context.Context, accountName string, pathParameter string, permission string) (result autorest.Response, err error)

SetPermission sets the permission of the file or folder. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory for which to set the permission. permission - a string representation of the permission (i.e 'rwx'). If empty, this property remains unchanged.

func (Client) SetPermissionPreparer

func (client Client) SetPermissionPreparer(ctx context.Context, accountName string, pathParameter string, permission string) (*http.Request, error)

SetPermissionPreparer prepares the SetPermission request.

func (Client) SetPermissionResponder

func (client Client) SetPermissionResponder(resp *http.Response) (result autorest.Response, err error)

SetPermissionResponder handles the response to the SetPermission request. The method always closes the http.Response Body.

func (Client) SetPermissionSender

func (client Client) SetPermissionSender(req *http.Request) (*http.Response, error)

SetPermissionSender sends the SetPermission request. The method will close the http.Response Body if it receives an error.

type ContentSummary

type ContentSummary struct {
	// DirectoryCount - READ-ONLY; the number of directories.
	DirectoryCount *int64 `json:"directoryCount,omitempty"`
	// FileCount - READ-ONLY; the number of files.
	FileCount *int64 `json:"fileCount,omitempty"`
	// Length - READ-ONLY; the number of bytes used by the content.
	Length *int64 `json:"length,omitempty"`
	// SpaceConsumed - READ-ONLY; the disk space consumed by the content.
	SpaceConsumed *int64 `json:"spaceConsumed,omitempty"`
}

ContentSummary data Lake Store content summary information

func (ContentSummary) MarshalJSON

func (cs ContentSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentSummary.

type ContentSummaryResult

type ContentSummaryResult struct {
	autorest.Response `json:"-"`
	// ContentSummary - READ-ONLY; the content summary for the specified path
	ContentSummary *ContentSummary `json:"contentSummary,omitempty"`
}

ContentSummaryResult data Lake Store filesystem content summary information response.

func (ContentSummaryResult) MarshalJSON

func (csr ContentSummaryResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentSummaryResult.

type Exception

type Exception string

Exception enumerates the values for exception.

const (
	// ExceptionAccessControlException ...
	ExceptionAccessControlException Exception = "AccessControlException"
	// ExceptionAdlsRemoteException ...
	ExceptionAdlsRemoteException Exception = "AdlsRemoteException"
	// ExceptionBadOffsetException ...
	ExceptionBadOffsetException Exception = "BadOffsetException"
	// ExceptionFileAlreadyExistsException ...
	ExceptionFileAlreadyExistsException Exception = "FileAlreadyExistsException"
	// ExceptionFileNotFoundException ...
	ExceptionFileNotFoundException Exception = "FileNotFoundException"
	// ExceptionIllegalArgumentException ...
	ExceptionIllegalArgumentException Exception = "IllegalArgumentException"
	// ExceptionIOException ...
	ExceptionIOException Exception = "IOException"
	// ExceptionRuntimeException ...
	ExceptionRuntimeException Exception = "RuntimeException"
	// ExceptionSecurityException ...
	ExceptionSecurityException Exception = "SecurityException"
	// ExceptionThrottledException ...
	ExceptionThrottledException Exception = "ThrottledException"
	// ExceptionUnsupportedOperationException ...
	ExceptionUnsupportedOperationException Exception = "UnsupportedOperationException"
)

func PossibleExceptionValues

func PossibleExceptionValues() []Exception

PossibleExceptionValues returns an array of possible values for the Exception const type.

type ExpiryOptionType

type ExpiryOptionType string

ExpiryOptionType enumerates the values for expiry option type.

const (
	// Absolute ...
	Absolute ExpiryOptionType = "Absolute"
	// NeverExpire ...
	NeverExpire ExpiryOptionType = "NeverExpire"
	// RelativeToCreationDate ...
	RelativeToCreationDate ExpiryOptionType = "RelativeToCreationDate"
	// RelativeToNow ...
	RelativeToNow ExpiryOptionType = "RelativeToNow"
)

func PossibleExpiryOptionTypeValues

func PossibleExpiryOptionTypeValues() []ExpiryOptionType

PossibleExpiryOptionTypeValues returns an array of possible values for the ExpiryOptionType const type.

type FileOperationResult

type FileOperationResult struct {
	autorest.Response `json:"-"`
	// OperationResult - READ-ONLY; the result of the operation or request.
	OperationResult *bool `json:"boolean,omitempty"`
}

FileOperationResult the result of the request or operation.

func (FileOperationResult) MarshalJSON

func (forVar FileOperationResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileOperationResult.

type FileStatusProperties

type FileStatusProperties struct {
	// AccessTime - READ-ONLY; the last access time as ticks since the epoch.
	AccessTime *int64 `json:"accessTime,omitempty"`
	// BlockSize - READ-ONLY; the block size for the file.
	BlockSize *int64 `json:"blockSize,omitempty"`
	// ExpirationTime - READ-ONLY; Gets the expiration time, if any, as ticks since the epoch. If the value is 0 or DateTime.MaxValue there is no expiration.
	ExpirationTime *int64 `json:"msExpirationTime,omitempty"`
	// Group - READ-ONLY; the group owner.
	Group *string `json:"group,omitempty"`
	// Length - READ-ONLY; the number of bytes in a file.
	Length *int64 `json:"length,omitempty"`
	// ModificationTime - READ-ONLY; the modification time as ticks since the epoch.
	ModificationTime *int64 `json:"modificationTime,omitempty"`
	// Owner - READ-ONLY; the user who is the owner.
	Owner *string `json:"owner,omitempty"`
	// PathSuffix - READ-ONLY; the path suffix.
	PathSuffix *string `json:"pathSuffix,omitempty"`
	// Permission - READ-ONLY; the permission represented as an string.
	Permission *string `json:"permission,omitempty"`
	// Type - READ-ONLY; the type of the path object. Possible values include: 'FILE', 'DIRECTORY'
	Type FileType `json:"type,omitempty"`
	// ACLBit - READ-ONLY; flag to indicate if extended acls are enabled
	ACLBit *bool `json:"aclBit,omitempty"`
}

FileStatusProperties data Lake Store file or directory information.

func (FileStatusProperties) MarshalJSON

func (fsp FileStatusProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileStatusProperties.

type FileStatusResult

type FileStatusResult struct {
	autorest.Response `json:"-"`
	// FileStatus - READ-ONLY; the file status object associated with the specified path.
	FileStatus *FileStatusProperties `json:"fileStatus,omitempty"`
}

FileStatusResult data Lake Store filesystem file status information response.

func (FileStatusResult) MarshalJSON

func (fsr FileStatusResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileStatusResult.

type FileStatuses

type FileStatuses struct {
	// FileStatus - READ-ONLY; the object containing the list of properties of the files.
	FileStatus *[]FileStatusProperties `json:"fileStatus,omitempty"`
}

FileStatuses data Lake Store file status list information.

func (FileStatuses) MarshalJSON

func (fs FileStatuses) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileStatuses.

type FileStatusesResult

type FileStatusesResult struct {
	autorest.Response `json:"-"`
	// FileStatuses - READ-ONLY; the object representing the list of file statuses.
	FileStatuses *FileStatuses `json:"fileStatuses,omitempty"`
}

FileStatusesResult data Lake Store filesystem file status list information response.

func (FileStatusesResult) MarshalJSON

func (fsr FileStatusesResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileStatusesResult.

type FileType

type FileType string

FileType enumerates the values for file type.

const (
	// DIRECTORY ...
	DIRECTORY FileType = "DIRECTORY"
	// FILE ...
	FILE FileType = "FILE"
)

func PossibleFileTypeValues

func PossibleFileTypeValues() []FileType

PossibleFileTypeValues returns an array of possible values for the FileType const type.

type ReadCloser

type ReadCloser struct {
	autorest.Response `json:"-"`
	Value             *io.ReadCloser `json:"value,omitempty"`
}

ReadCloser ...

type SyncFlag

type SyncFlag string

SyncFlag enumerates the values for sync flag.

const (
	// CLOSE ...
	CLOSE SyncFlag = "CLOSE"
	// DATA ...
	DATA SyncFlag = "DATA"
	// METADATA ...
	METADATA SyncFlag = "METADATA"
)

func PossibleSyncFlagValues

func PossibleSyncFlagValues() []SyncFlag

PossibleSyncFlagValues returns an array of possible values for the SyncFlag const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL