30 size_t *required) const noexcept;
37 explicit glsConnectionMutationResult(Impl *) noexcept;
38 ~glsConnectionMutationResult();
39 glsConnectionMutationResult(const glsConnectionMutationResult&) = delete;
40 glsConnectionMutationResult& operator=(const glsConnectionMutationResult&) = delete;
41 friend class glsConnectionMutationService;
56 explicit glsConnectionMutationPlan(Impl *) noexcept;
57 ~glsConnectionMutationPlan();
58 glsConnectionMutationPlan(const glsConnectionMutationPlan &) = delete;
59 glsConnectionMutationPlan &
60 operator=(const glsConnectionMutationPlan &) = delete;
61 friend class glsConnectionMutationService;
87 const char *schema,
const char *name,
127 const char *input,
char *normalized,
128 size_t size,
size_t *required)
noexcept;
159 const char *oldName,
const char *newName,
178 const char *,
const char *,
const char *,
테이블 변경 확인 전에 캡처한 스냅샷입니다.
정의 glsConnectionMutationService.h:48
void Release() noexcept
계획을 해제합니다. 이후 객체를 사용하면 안 됩니다.
테이블 생성, 이름 변경 또는 삭제의 독립 결과입니다.
정의 glsConnectionMutationService.h:17
glsConnectionMutationOutcome GetOutcome() const noexcept
데이터베이스에서 확정된 변경 상태를 조회합니다.
void Release() noexcept
변경 결과를 해제합니다.
glsStatus GetWarning(char *buffer, size_t size, size_t *required) const noexcept
호출이 남긴 영문 경고를 UTF-8로 조회합니다.
GeoPackage, SpatiaLite 또는 PostgreSQL 테이블을 생성하거나 이름 변경하거나 삭제합니다.
정의 glsConnectionMutationService.h:72
static glsStatus Rename(glsDataset *dataset, const char *provider, const char *oldName, const char *newName, glsConnectionMutationResult **result) noexcept
스냅샷 비교 없이 테이블 이름을 변경합니다.
static glsStatus Prepare(glsDataset *dataset, const char *provider, const char *schema, const char *name, glsConnectionMutationPlan **plan) noexcept
이름 변경이나 삭제하기 전에 테이블 스냅샷을 캡처합니다.
static glsStatus ValidateRename(const char *provider, const char *oldName, const char *input, char *normalized, size_t size, size_t *required) noexcept
새 테이블 이름을 데이터베이스를 열지 않고 검사합니다.
static glsStatus DeletePrepared(glsDataset *dataset, const glsConnectionMutationPlan *plan, glsConnectionMutationResult **result) noexcept
계획과 현재 대상이 일치하는지 확인한 뒤 테이블을 삭제합니다.
static glsStatus RenamePrepared(glsDataset *dataset, const glsConnectionMutationPlan *plan, const char *newName, glsConnectionMutationResult **result) noexcept
계획과 현재 대상이 일치하는지 검사한 뒤 테이블 이름을 변경합니다.
static glsStatus CreateTable(glsDataset *dataset, const char *requestJson, glsConnectionMutationResult **result) noexcept
요청한 정의로 테이블을 생성합니다.
static glsStatus Delete(glsDataset *dataset, const char *name, glsConnectionMutationResult **result) noexcept
스냅샷 비교 없이 테이블을 삭제합니다.
static glsStatus ValidateCreate(const char *requestJson) noexcept
데이터베이스를 변경하지 않고 테이블 생성 요청을 검사합니다.
파일, URI 또는 메모리 공급자에서 열 수 있는 논리적 GIS 데이터셋입니다.
정의 glsDataset.h:581
공개 gdk_dll API가 공유하는 값 형식, 결과 코드, 호출 규약입니다.
#define GDK_DLL_API
Windows에서는 SDK 심볼을 내보내거나 가져오고, 그 외 플랫폼에서는 SDK 빌드의 심볼을 공개합니다.
정의 glsExport.h:20
glsConnectionMutationOutcome
테이블 변경 후 데이터베이스에 남은 상태입니다.
정의 glsConnectionMutationService.h:7
@ RolledBack
삭제 트랜잭션을 시작했고 롤백 성공 응답을 받았습니다.
정의 glsConnectionMutationService.h:9
@ NotStarted
데이터베이스가 변경되지 않았습니다.
정의 glsConnectionMutationService.h:8
@ Committed
변경이 데이터베이스에 반영됐으며 SDK에서 실행 취소할 수 없습니다.
정의 glsConnectionMutationService.h:10
@ Unknown
미확정 식별자가 있거나 PostgreSQL 서버 표기가 달라 같거나 다른지 판단할 수 없습니다.
정의 glsConnectionIdentityService.h:8
glsGdk SDK의 네이티브 C++ API 이름 공간입니다.
정의 glsAttributeTable.h:5
DLL 경계의 공개 함수가 반환하는 상태입니다.
정의 glsTypes.h:83