3#include "gdk_dll/feature/glsFeatureRead.h"
40 glsAttributeTableQuery(
const glsAttributeTableQuery&) =
delete;
41 glsAttributeTableQuery& operator=(
const glsAttributeTableQuery&) =
delete;
68 uint64_t sourceRevision, glsAttributeTableQuery**)
noexcept;
85 friend class glsAttributeTableReader;
87 explicit glsAttributeTableQuery(Impl*) noexcept;
124 glsAttributeTableBatch(
const glsAttributeTableBatch&) =
delete;
125 glsAttributeTableBatch& operator=(
const glsAttributeTableBatch&) =
delete;
162 friend class glsAttributeTableStream;
164 explicit glsAttributeTableBatch(Impl*) noexcept;
185 glsAttributeTableStream(
const glsAttributeTableStream&) =
delete;
186 glsAttributeTableStream& operator=(
const glsAttributeTableStream&) =
delete;
198 friend class glsAttributeTableReader;
200 explicit glsAttributeTableStream(Impl*)
noexcept;
309 int64_t* scannedCount =
nullptr,
bool* truncated =
nullptr,
310 bool preferProviderLocate =
false) noexcept;
433 static
int EffectiveLimit(
int bulkLimit,
int mapLimit,
bool preferLarger = false) noexcept;
속성 테이블과 필드 값 읽기가 확인하는 취소 플래그입니다.
정의 glsAttributeTable.h:104
virtual bool IsCancelled() noexcept=0
작업을 중단할지 확인합니다.
스트림이나 페이지에서 읽은 데이터 소스와 독립적인 행 배치입니다.
정의 glsAttributeTable.h:120
glsStatus GetFieldIndex(int slot, int *outIndex) const noexcept
값 슬롯이 대응하는 스키마 필드 인덱스를 조회합니다.
int GetFieldCount() const noexcept
한 행에 있는 슬롯 개수를 조회합니다.
~glsAttributeTableBatch()
배치를 파괴합니다. SDK가 반환한 배치는 glsReleaseAttributeTableBatch()로 해제합니다.
uint64_t GetGeneration() const noexcept
배치를 만든 쿼리의 세대 값을 조회합니다.
bool GetEndOfStream() const noexcept
배치 뒤에 행이 더 있는지 확인합니다.
uint64_t GetSourceRevision() const noexcept
배치를 만든 쿼리의 소스 리비전을 조회합니다.
glsStatus GetValue(int row, int slot, glsAttributeValue *) const noexcept
행의 지정 슬롯에서 속성값을 조회합니다.
glsStatus GetReference(int row, glsFeatureReference *) const noexcept
행의 피처 ID와 읽을 때 지정한 ID 공간을 가져옵니다.
int GetRowCount() const noexcept
배치에 담긴 행 수를 조회합니다.
속성 테이블 요청을 복사한 불변 쿼리입니다.
정의 glsAttributeTable.h:36
uint64_t GetGeneration() const noexcept
쿼리의 요청 세대를 조회합니다.
glsStatus GetRequest(glsFeatureQuery *) const noexcept
쿼리에 저장한 요청을 조회합니다.
~glsAttributeTableQuery()
쿼리를 파괴합니다. SDK에서 받은 쿼리는 glsReleaseAttributeTableQuery()로 해제합니다.
static glsStatus Create(const glsFeatureQuery *, const int64_t *fids, int fidCount, glsAttributeTableFidMode, glsAttributeTableProjection, uint64_t generation, uint64_t sourceRevision, glsAttributeTableQuery **) noexcept
요청을 검증하고 호출자 소유의 쿼리를 만듭니다.
uint64_t GetSourceRevision() const noexcept
쿼리의 소스 리비전을 조회합니다.
벡터 데이터 소스에서 속성 테이블의 행을 읽고 세거나 위치를 찾습니다.
정의 glsAttributeTable.h:228
static glsStatus ReadPage(glsDataSource *, const glsAttributeTableQuery *, glsFeatureIdSpace, int maxRows, IGlsAttributeTableCancellation *, glsAttributeTableBatch **) noexcept
최대 행 수를 지정해 한 페이지를 읽습니다.
static glsStatus Count(glsDataSource *, const glsAttributeTableQuery *, int64_t *) noexcept
조건에 맞는 전체 결과의 행 개수를 셉니다.
static glsStatus OpenStream(glsDataSource *, const glsAttributeTableQuery *, glsFeatureIdSpace, bool wholeResult, glsAttributeTableStream **) noexcept
속성 테이블 행을 읽는 스트림을 엽니다.
static glsStatus Locate(glsDataSource *, const glsAttributeTableQuery *, const int64_t *fids, int fidCount, glsFeatureRowLocation *, int capacity, int *locatedCount, IGlsAttributeTableCancellation *=nullptr, int64_t scanLimit=0, int64_t *scannedCount=nullptr, bool *truncated=nullptr, bool preferProviderLocate=false) noexcept
필터링하고 정렬한 전체 결과에서 피처 ID의 행 위치를 찾습니다.
쿼리 결과의 고유 피처 ID를 제한까지 모읍니다.
정의 glsAttributeTable.h:375
glsStatus CopyIds(int64_t *, int capacity, int *requiredCount) const noexcept
보관한 ID들을 처음 추가한 순서로 복사합니다.
~glsAttributeTableSelection()
선택 목록과 소유 리소스를 해제합니다.
glsAttributeTableSelectionState GetState() const noexcept
피처 ID 수집 상태를 조회합니다.
glsAttributeTableSelection(int64_t limit=0)
개수 제한을 지정하여 빈 선택 목록을 만듭니다.
static int EffectiveLimit(int bulkLimit, int mapLimit, bool preferLarger=false) noexcept
두 선택 개수 제한을 결합합니다.
void Cancel() noexcept
수집한 ID를 모두 버리고 상태를 Cancelled로 설정합니다.
glsStatus Add(int64_t fid, bool *continueReading) noexcept
고유 피처 ID를 목록에 추가합니다.
int64_t GetMatchedCount() const noexcept
고유 ID의 발견 개수를 조회합니다.
void Fail() noexcept
수집한 ID를 모두 버리고 상태를 Failed로 설정합니다.
glsStatus Invert(const int64_t *selected, int selectedCount) noexcept
현재 보관한 ID를 지정한 선택 목록에 없는 ID만으로 바꿉니다.
속성 테이블 쿼리의 행을 배치로 읽는 열린 커서입니다.
정의 glsAttributeTable.h:181
glsStatus ReadBatch(int maxRows, IGlsAttributeTableCancellation *, glsAttributeTableBatch **) noexcept
다음 행을 새 배치로 읽습니다.
~glsAttributeTableStream()
스트림을 파괴합니다. SDK가 반환한 스트림은 glsReleaseAttributeTableStream()으로 해제합니다.
속성 테이블 텍스트를 쉼표 또는 탭으로 나누어 인코딩합니다.
정의 glsAttributeTable.h:476
static glsStatus EncodeField(const char *, glsAttributeTableDelimiter, char *, size_t, size_t *) noexcept
표시 형식을 적용한 필드 하나를 인코딩합니다.
static glsStatus EncodeRow(const char *const *values, int count, int64_t rowNumber, bool header, const glsAttributeTableTextOptions *, char *, size_t, size_t *) noexcept
표시 형식을 적용한 값들의 한 줄을 줄바꿈과 함께 인코딩합니다.
데이터셋에서 연 벡터 피처 테이블입니다.
정의 glsDataset.h:177
공개 gdk_dll API가 공유하는 값 형식, 결과 코드, 호출 규약입니다.
#define GDK_DLL_API
Windows에서는 SDK 심볼을 내보내거나 가져오고, 그 외 플랫폼에서는 SDK 빌드의 심볼을 공개합니다.
정의 glsExport.h:20
void glsReleaseAttributeTableSelection(glsAttributeTableSelection *) noexcept
힙에서 생성한 속성 테이블 선택 목록을 해제합니다.
glsAttributeTableDelimiter
속성 테이블 텍스트에 쓸 필드 구분자입니다.
정의 glsAttributeTable.h:451
void glsReleaseAttributeTableStream(glsAttributeTableStream *) noexcept
스트림과 커서를 해제합니다.
glsAttributeTableSelectionState
속성 테이블의 피처 ID 수집 상태입니다.
정의 glsAttributeTable.h:356
void glsReleaseAttributeTableQuery(glsAttributeTableQuery *) noexcept
속성 테이블 쿼리를 해제합니다.
void glsReleaseAttributeTableBatch(glsAttributeTableBatch *) noexcept
속성 테이블 배치를 해제합니다.
glsAttributeTableProviderPolicy glsGetAttributeTableProviderPolicy(const char *providerKey) noexcept
공급자 키에 등록된 속성 테이블 기능을 조회합니다.
glsAttributeTableFidMode
속성 테이블 쿼리에서 조회할 피처 ID 범위입니다.
정의 glsAttributeTable.h:11
glsStatus glsCreateAttributeTableIndex(glsDataSource *writableSource, const char *fieldName, IGlsAttributeTableCancellation *=nullptr) noexcept
원본 벡터 데이터 소스의 속성 필드에 인덱스를 만듭니다.
glsAttributeTableProjection
속성 테이블 행에 포함할 속성값 범위입니다.
정의 glsAttributeTable.h:21
glsFeatureIdSpace
피처 참조가 사용하는 ID 공간입니다.
정의 glsFeatureRead.h:13
@ Comma
필드를 쉼표로 구분합니다.
정의 glsAttributeTable.h:453
@ Tab
필드를 탭 문자로 구분합니다.
정의 glsAttributeTable.h:455
@ Truncated
제한에 이미 도달한 뒤 새 ID가 들어와 보관하지 못했습니다.
정의 glsAttributeTable.h:360
@ Cancelled
Cancel을 호출해 수집한 ID를 버렸습니다.
정의 glsAttributeTable.h:362
@ Complete
수집 중이거나 모든 ID를 제한 안에서 보관했습니다.
정의 glsAttributeTable.h:358
@ Failed
Fail을 호출해 수집한 ID를 버렸습니다.
정의 glsAttributeTable.h:364
@ ExplicitSet
요청과 일치하고 지정 목록에 포함된 피처만 조회합니다. 목록이 비면 결과가 없습니다.
정의 glsAttributeTable.h:15
@ All
요청과 일치하는 모든 피처입니다. 별도 FID 목록을 무시합니다.
정의 glsAttributeTable.h:13
@ None
속성을 읽지 않고 피처 ID만 읽습니다.
정의 glsAttributeTable.h:27
@ Fields
SubsetAttributes의 필드를 지정 순서대로 읽습니다. 빈 목록이면 속성값을 읽지 않습니다.
정의 glsAttributeTable.h:25
glsGdk SDK의 네이티브 C++ API 이름 공간입니다.
정의 glsAttributeTable.h:5
공급자가 처리할 수 있다고 알려진 속성 테이블 작업의 정책입니다.
정의 glsAttributeTable.h:317
bool SortedSeek
정렬 순서의 페이지 탐색에서 HasKeysetAfter를 사용할 수 있습니다.
정의 glsAttributeTable.h:319
bool AttributeIndex
glsCreateAttributeTableIndex()로 속성 인덱스를 생성할 수 있습니다.
정의 glsAttributeTable.h:320
bool NaturalFidSeek
FID 순서의 페이지 탐색에서 HasFidGreaterThan을 사용할 수 있습니다.
정의 glsAttributeTable.h:318
속성 테이블 출력 한 줄의 옵션입니다.
정의 glsAttributeTable.h:459
bool IncludeRowNumber
참이면 맨 앞에 행 번호 열을 씁니다. 머리글의 행 번호 열은 # 문자입니다.
정의 glsAttributeTable.h:462
bool CrLf
참이면 줄 끝에 CR LF를 쓰고 거짓이면 LF를 씁니다.
정의 glsAttributeTable.h:461
glsAttributeTableDelimiter Delimiter
필드 사이에 사용할 구분자입니다.
정의 glsAttributeTable.h:460
형식 태그로 실제 값이 들어 있는 멤버를 지정하는 속성값입니다.
정의 glsTypes.h:1575
glsDataSource::GetFeatures()의 피처 질의 옵션입니다.
정의 glsTypes.h:1669
피처 ID와 그 ID 공간을 함께 보관합니다.
정의 glsFeatureRead.h:21
glsDataSource::LocateFeatureRows()에서 기록하는 FID별 행 위치입니다.
정의 glsTypes.h:1715
DLL 경계의 공개 함수가 반환하는 상태입니다.
정의 glsTypes.h:83