public interface SqlSerializationContext
Modifier and Type | Method and Description |
---|---|
boolean |
getIdempotent()
Returns true if the SQL to String conversion should be idempotent.
|
boolean |
getStandardConformingStrings()
Returns true if strings literals should use
standard_conforming_strings=on encoding. |
static SqlSerializationContext |
of(boolean standardConformingStrings,
boolean idempotent)
Returns SqlSerializationContext instance with the given parameters
|
static SqlSerializationContext of(boolean standardConformingStrings, boolean idempotent)
standardConformingStrings
- true when string literals should be standard conformingidempotent
- true when idempotent conversion is neededboolean getStandardConformingStrings()
standard_conforming_strings=on
encoding.standard_conforming_strings=on
encoding.boolean getIdempotent()
InputStream
,
then the stream could be skipped when writing SQL with idempotent mode.Copyright © 2025 PostgreSQL Global Development Group. All rights reserved.