Package com.databend.jdbc
Class PresignContext
java.lang.Object
com.databend.jdbc.PresignContext
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PresignContext.Builderbuilder()static StringbuildRequestSQL(com.databend.jdbc.PresignContext.PresignMethod method, String stageName, String fileName) static voidcreateStageIfNotExists(DatabendConnection connection, String stageName) static voiddropStageIfExists(DatabendConnection connection, String stageName) okhttp3.Headerscom.databend.jdbc.PresignContext.PresignMethodstatic PresignContextgetPresignContext(DatabendConnection connection, com.databend.jdbc.PresignContext.PresignMethod method, String stageName, String fileName) getUrl()toString()
-
Method Details
-
createStageIfNotExists
public static void createStageIfNotExists(DatabendConnection connection, String stageName) throws SQLException - Throws:
SQLException
-
dropStageIfExists
public static void dropStageIfExists(DatabendConnection connection, String stageName) throws SQLException - Throws:
SQLException
-
getPresignContext
public static PresignContext getPresignContext(DatabendConnection connection, com.databend.jdbc.PresignContext.PresignMethod method, String stageName, String fileName) throws SQLException - Throws:
SQLException
-
buildRequestSQL
-
builder
-
toString
-
getMethod
public com.databend.jdbc.PresignContext.PresignMethod getMethod() -
getStageName
-
getFileName
-
getHeaders
public okhttp3.Headers getHeaders() -
getUrl
-