다음을 통해 공유


SqlDataReference 클래스

SQL 데이터베이스에 연결 정보를 저장하는 데이터 저장소의 데이터에 대한 참조를 나타냅니다.

sql 데이터 참조를 초기화합니다.

상속
SqlDataReference

생성자

SqlDataReference(datastore, data_reference_name=None, sql_table=None, sql_query=None, sql_stored_procedure=None, sql_stored_procedure_params=None)

매개 변수

Name Description
datastore
필수

참조할 데이터 저장소입니다.

data_reference_name
str

데이터 참조의 이름입니다.

기본값: None
sql_table
str, <xref:optional>

SQL 데이터베이스에 있는 테이블의 이름입니다.

기본값: None
sql_query
str, <xref:optional>

SQL 데이터베이스와 함께 사용할 SQL 쿼리입니다.

기본값: None
sql_stored_procedure
str, <xref:optional>

SQL 데이터베이스에서 호출되는 저장 프로시저의 이름입니다.

기본값: None
sql_stored_procedure_params
[StoredProcedureParameter], <xref:optional>

저장 프로시저에 전달할 매개 변수의 선택적 목록입니다.

기본값: None
datastore
필수

참조할 데이터 저장소입니다.

data_reference_name
필수
str

데이터 참조의 이름입니다.

sql_table
필수
str, <xref:optional>

SQL 데이터베이스에 있는 테이블의 이름입니다.

sql_query
필수
str, <xref:optional>

SQL 데이터베이스와 함께 사용할 SQL 쿼리입니다.

sql_stored_procedure
필수
str, <xref:optional>

SQL 데이터베이스에서 호출되는 저장 프로시저의 이름입니다.

sql_stored_procedure_params
필수
[StoredProcedureParameter], <xref:optional>

저장 프로시저에 전달할 매개 변수의 선택적 목록입니다.

메서드

as_download

데이터 참조 작업을 다운로드로 전환합니다. SqlDataReference에 대해 지원되지 않습니다.

as_mount

데이터 참조 작업을 탑재로 전환합니다. SqlDataReference에 대해 지원되지 않습니다.

as_upload

데이터 참조 작업을 업로드로 전환합니다. SqlDataReference에 대해 지원되지 않습니다.

path

지정된 경로에 따라 SqlDataReference 인스턴스를 만듭니다. SqlDataReference에 대해 지원되지 않습니다.

to_config

DataReference 개체를 DataReferenceConfiguration 개체로 변환합니다. SqlDataReference에 대해 지원되지 않습니다.

as_download

데이터 참조 작업을 다운로드로 전환합니다. SqlDataReference에 대해 지원되지 않습니다.

as_download(path_on_compute=None, overwrite=False)

매개 변수

Name Description
path_on_compute
str

데이터 참조에 대한 컴퓨팅의 경로입니다.

기본값: None
overwrite

기존 데이터를 덮어쓸지 여부입니다.

기본값: False

반환

형식 Description

새 데이터 참조 개체입니다.

as_mount

데이터 참조 작업을 탑재로 전환합니다. SqlDataReference에 대해 지원되지 않습니다.

as_mount()

반환

형식 Description

새 데이터 참조 개체입니다.

as_upload

데이터 참조 작업을 업로드로 전환합니다. SqlDataReference에 대해 지원되지 않습니다.

as_upload(path_on_compute=None, overwrite=False)

매개 변수

Name Description
path_on_compute
str

데이터 참조에 대한 컴퓨팅의 경로입니다.

기본값: None
overwrite

기존 데이터를 덮어쓸지 여부입니다.

기본값: False

반환

형식 Description

새 데이터 참조 개체입니다.

path

지정된 경로에 따라 SqlDataReference 인스턴스를 만듭니다. SqlDataReference에 대해 지원되지 않습니다.

path(path=None, data_reference_name=None)

매개 변수

Name Description
path
str

데이터 저장소의 경로입니다.

기본값: None
data_reference_name
str

데이터 참조의 이름입니다.

기본값: None

반환

형식 Description

새 데이터 참조 개체입니다.

to_config

DataReference 개체를 DataReferenceConfiguration 개체로 변환합니다. SqlDataReference에 대해 지원되지 않습니다.

to_config()

반환

형식 Description

새 DataReferenceConfiguration 개체입니다.