CloudOptions
Namespace: Polars.FSharp
Properties & Indexers
| Property | Type | Description |
|---|---|---|
CacheTTL | uint64 | - |
Credentials | Map<string, string> | - |
Default | CloudOptions | - |
Provider | CloudProvider | - |
Retries | uint32 | - |
RetryInitBackoffMs | uint64 | - |
RetryMaxBackoffMs | uint64 | - |
RetryTimeoutMs | uint64 | - |
Constructors & Static Methods
new
fsharp
new(
provider: CloudProvider,
credentials: Map<string, string>,
retries: uint32,
retryTimeoutMs: uint64,
retryInitBackoffMs: uint64,
retryMaxBackoffMs: uint64,
cacheTTL: uint64
) : CloudOptionsParameters
| Name | Type | Description |
|---|---|---|
provider | CloudProvider | - |
credentials | Map<string, string> | - |
retries | uint32 | - |
retryTimeoutMs | uint64 | - |
retryInitBackoffMs | uint64 | - |
retryMaxBackoffMs | uint64 | - |
cacheTTL | uint64 | - |
Aws
AWS S3
fsharp
static member Aws(
bucket: string,
region: string,
?accessKey: string,
?secretKey: string,
?sessionToken: string,
?endpoint: string,
?allowHttp: bool
) : CloudOptionsParameters
| Name | Type | Description |
|---|---|---|
bucket | string | - |
region | string | - |
accessKey | string (optional) | - |
secretKey | string (optional) | - |
sessionToken | string (optional) | - |
endpoint | string (optional) | - |
allowHttp | bool (optional) | - |
Azure
Azure Blob Storage
fsharp
static member Azure(
accountName: string,
?accessKey: string,
?container: string,
?endpoint: string,
?allowHttp: bool
) : CloudOptionsParameters
| Name | Type | Description |
|---|---|---|
accountName | string | - |
accessKey | string (optional) | - |
container | string (optional) | - |
endpoint | string (optional) | - |
allowHttp | bool (optional) | - |
Gcp
Google Cloud Storage
fsharp
static member Gcp(?serviceAccountPath: string, ?bucket: string) : CloudOptionsParameters
| Name | Type | Description |
|---|---|---|
serviceAccountPath | string (optional) | - |
bucket | string (optional) | - |
Http
HTTP
fsharp
static member Http(?headers: Map<string, string>) : CloudOptionsParameters
| Name | Type | Description |
|---|---|---|
headers | Map<string, string> (optional) | - |
HuggingFace
Hugging Face
fsharp
static member HuggingFace(?token: string) : CloudOptionsParameters
| Name | Type | Description |
|---|---|---|
token | string (optional) | - |
ParseCloudOptions
Internal helper to parse CloudOptions into native FFI primitives.
fsharp
static member ParseCloudOptions(cloudOptions: CloudOptions option) : (PlCloudProvider * UIntPtr * uint64 * uint64 * uint64 * uint64 * string[] * string[])Parameters
| Name | Type | Description |
|---|---|---|
cloudOptions | CloudOptions option | - |
Instance Methods
CompareTo
fsharp
member CompareTo(obj: CloudOptions) : int
member CompareTo(obj: obj) : int
member CompareTo(obj: obj, comp: IComparer) : intParameters
| Name | Type | Description |
|---|---|---|
obj | CloudOptions / obj | - |
comp | IComparer | - |