public class ValueTuple extends PostgresTuple
| Modifier and Type | Field and Description |
|---|---|
static PostgresTuple |
EMPTY |
| Constructor and Description |
|---|
ValueTuple(String value) |
ValueTuple(String value,
boolean record,
boolean array) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildTuple(boolean quote) |
static PostgresTuple |
from(String value) |
void |
insertArray(PostgresWriter sw,
String escaping,
org.revenj.postgres.converters.PostgresTuple.Mapping mappings) |
void |
insertRecord(PostgresWriter sw,
String escaping,
org.revenj.postgres.converters.PostgresTuple.Mapping mappings) |
boolean |
mustEscapeArray() |
boolean |
mustEscapeRecord() |
buildQuoteEscape, buildSlashEscape, buildTuplepublic static final PostgresTuple EMPTY
public ValueTuple(String value)
public ValueTuple(String value, boolean record, boolean array)
public static PostgresTuple from(String value)
public boolean mustEscapeRecord()
public boolean mustEscapeArray()
public String buildTuple(boolean quote)
buildTuple in class PostgresTuplepublic void insertRecord(PostgresWriter sw, String escaping, org.revenj.postgres.converters.PostgresTuple.Mapping mappings)
public void insertArray(PostgresWriter sw, String escaping, org.revenj.postgres.converters.PostgresTuple.Mapping mappings)
Copyright © 2015. All rights reserved.