-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
APPS-53008: Provide snow internal way to force transfer agent stateme…
…nts to be internal=true
- Loading branch information
1 parent
45085ab
commit d60b515
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved. | ||
*/ | ||
|
||
package net.snowflake.client.core; | ||
|
||
import java.util.Map; | ||
import net.snowflake.client.jdbc.SnowflakeSQLException; | ||
|
||
// Consumed by Snowsight | ||
@SnowflakeJdbcInternalApi | ||
class StmtInternal extends SFStatement { | ||
|
||
public StmtInternal(SFSession session) { | ||
super(session); | ||
} | ||
|
||
@Override | ||
public Object executeHelper( | ||
String sql, | ||
String mediaType, | ||
Map<String, ParameterBindingDTO> bindValues, | ||
boolean describeOnly, | ||
boolean internal, | ||
boolean asyncExec, | ||
ExecTimeTelemetryData execTimeData) | ||
throws SnowflakeSQLException, SFException { | ||
return super.executeHelper( | ||
sql, mediaType, bindValues, describeOnly, true, asyncExec, execTimeData); | ||
} | ||
} |