File tree 1 file changed +1
-4
lines changed
src/main/java/net/snowflake/client/core
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 3
3
import com .fasterxml .jackson .core .StreamReadConstraints ;
4
4
import com .fasterxml .jackson .databind .MapperFeature ;
5
5
import com .fasterxml .jackson .databind .ObjectMapper ;
6
- import net .snowflake .client .log .SFLogger ;
7
- import net .snowflake .client .log .SFLoggerFactory ;
8
6
9
7
/**
10
8
* Factor method used to create ObjectMapper instance. All object mapper in JDBC should be created
@@ -15,11 +13,10 @@ public class ObjectMapperFactory {
15
13
// Snowflake allows up to 16M string size and returns base64 encoded value that makes it up to 23M
16
14
public static final int DEFAULT_MAX_JSON_STRING_LEN = 23_000_000 ;
17
15
16
+ @ SnowflakeJdbcInternalApi
18
17
public static final String MAX_JSON_STRING_LENGTH_JVM =
19
18
"net.snowflake.jdbc.objectMapper.maxJsonStringLength" ;
20
19
21
- private static final SFLogger logger = SFLoggerFactory .getLogger (ObjectMapperFactory .class );
22
-
23
20
public static ObjectMapper getObjectMapper () {
24
21
ObjectMapper mapper = new ObjectMapper ();
25
22
mapper .configure (MapperFeature .OVERRIDE_PUBLIC_ACCESS_MODIFIERS , false );
You can’t perform that action at this time.
0 commit comments