Class OfflineSourceDescriptor
- Namespace
- Honua.Sdk.Offline.Abstractions
- Assembly
- Honua.Sdk.Abstractions.dll
Offline download scope for a single protocol-backed feature source.
public sealed record OfflineSourceDescriptor : IEquatable<OfflineSourceDescriptor>
- Inheritance
-
OfflineSourceDescriptor
- Implements
- Inherited Members
Properties
Extent
Optional spatial extent used to bound the offline source.
public FeatureBoundingBox? Extent { get; init; }
Property Value
FilterLanguage
Filter expression language used by Where.
public FeatureFilterLanguage FilterLanguage { get; init; }
Property Value
LastSyncToken
Provider sync token from the previous successful pull.
public string? LastSyncToken { get; init; }
Property Value
MaxFeatureCount
Maximum number of features to pull for this source.
public int? MaxFeatureCount { get; init; }
Property Value
- int?
OutFields
Fields to include in locally cached feature records.
public IReadOnlyList<string> OutFields { get; init; }
Property Value
PageSize
Preferred provider page size for download planning.
public int? PageSize { get; init; }
Property Value
- int?
ReturnGeometry
Whether geometry should be included in pulled feature records.
public bool ReturnGeometry { get; init; }
Property Value
Source
SDK source descriptor that identifies the provider and locator.
public required SourceDescriptor Source { get; init; }
Property Value
SourceId
Application-level source identifier inside the package.
public required string SourceId { get; init; }
Property Value
Where
Provider filter expression used to bound the offline source.
public string? Where { get; init; }
Property Value
Methods
ToQueryRequest(string?)
Creates a provider-neutral query request for the source.
public FeatureQueryRequest ToQueryRequest(string? lastSyncToken = null)
Parameters
lastSyncTokenstringLast sync token selected for this pull.
Returns
- FeatureQueryRequest
A bounded feature query request.