public enum QuoteStrategy extends java.lang.Enum<QuoteStrategy>
| Enum Constant and Description | 
|---|
| NO_QUOTESDialect 1 doesn't support quoting of object names. | 
| QUOTESDialect 3 (and 2) supports quoting of object names. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract java.lang.StringBuilder | appendQuoted(java.lang.String objectName,
            java.lang.StringBuilder sb)Appends the  objectNamewith (or in the case of dialect 1: without) quotes tosb. | 
| static QuoteStrategy | forDialect(int dialect)Obtain the  QuoteStrategyfor the specified dialect. | 
| abstract java.lang.String | quoteObjectName(java.lang.String objectName)Returns the object name appropriately quoted according to this quote strategy. | 
| static QuoteStrategy | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static QuoteStrategy[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final QuoteStrategy NO_QUOTES
public static final QuoteStrategy QUOTES
public static QuoteStrategy[] values()
for (QuoteStrategy c : QuoteStrategy.values()) System.out.println(c);
public static QuoteStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract java.lang.StringBuilder appendQuoted(java.lang.String objectName,
                                   java.lang.StringBuilder sb)
objectName with (or in the case of dialect 1: without) quotes to sb.objectName - The object name to appendsb - StringBuilder for appendingpublic abstract java.lang.String quoteObjectName(java.lang.String objectName)
objectName - The object namepublic static QuoteStrategy forDialect(int dialect)
QuoteStrategy for the specified dialect.dialect - DialectQuoteStrategyCopyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.