More HSQLDB @Support annotations

This commit is contained in:
lukaseder 2016-12-22 15:28:21 +01:00
parent 584b4f278e
commit fd0b20e4ac
2 changed files with 22 additions and 22 deletions

View File

@ -7905,7 +7905,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#dropSchema(String)
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
DropSchemaStep dropSchema(String schema);
/**
@ -7913,7 +7913,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#dropSchema(Name)
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
DropSchemaStep dropSchema(Name schema);
/**
@ -7921,7 +7921,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#dropSchema(Schema)
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
DropSchemaStep dropSchema(Schema schema);
/**
@ -7929,7 +7929,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#dropSchemaIfExists(String)
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
DropSchemaStep dropSchemaIfExists(String schema);
/**
@ -7937,7 +7937,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#dropSchemaIfExists(Name)
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
DropSchemaStep dropSchemaIfExists(Name schema);
/**
@ -7945,7 +7945,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#dropSchemaIfExists(Schema)
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
DropSchemaStep dropSchemaIfExists(Schema schema);
/**

View File

@ -12448,7 +12448,7 @@ public class DSL {
* @param value The formatted <code>DATE</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<Date> toDate(String value, String format) {
return toDate(Tools.field(value, SQLDataType.VARCHAR), Tools.field(format, SQLDataType.VARCHAR));
}
@ -12459,7 +12459,7 @@ public class DSL {
* @param value The formatted <code>DATE</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<Date> toDate(String value, Field<String> format) {
return toDate(Tools.field(value, SQLDataType.VARCHAR), nullSafe(format));
}
@ -12470,7 +12470,7 @@ public class DSL {
* @param value The formatted <code>DATE</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<Date> toDate(Field<String> value, String format) {
return toDate(nullSafe(value), Tools.field(format, SQLDataType.VARCHAR));
}
@ -12481,7 +12481,7 @@ public class DSL {
* @param value The formatted <code>DATE</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<Date> toDate(Field<String> value, Field<String> format) {
return DSL.field("{to_date}({0}, {1})", SQLDataType.DATE, nullSafe(value), nullSafe(format));
}
@ -12492,7 +12492,7 @@ public class DSL {
* @param value The formatted <code>TIMESTAMP</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<Timestamp> toTimestamp(String value, String format) {
return toTimestamp(Tools.field(value, SQLDataType.VARCHAR), Tools.field(format, SQLDataType.VARCHAR));
}
@ -12503,7 +12503,7 @@ public class DSL {
* @param value The formatted <code>TIMESTAMP</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<Timestamp> toTimestamp(String value, Field<String> format) {
return toTimestamp(Tools.field(value, SQLDataType.VARCHAR), nullSafe(format));
}
@ -12514,7 +12514,7 @@ public class DSL {
* @param value The formatted <code>TIMESTAMP</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<Timestamp> toTimestamp(Field<String> value, String format) {
return toTimestamp(nullSafe(value), Tools.field(format, SQLDataType.VARCHAR));
}
@ -12525,7 +12525,7 @@ public class DSL {
* @param value The formatted <code>TIMESTAMP</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<Timestamp> toTimestamp(Field<String> value, Field<String> format) {
return DSL.field("{to_timestamp}({0}, {1})", SQLDataType.TIMESTAMP, nullSafe(value), nullSafe(format));
}
@ -12538,7 +12538,7 @@ public class DSL {
* @param value The formatted <code>DATE</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<LocalDate> toLocalDate(String value, String format) {
return toDate(value, format).coerce(SQLDataType.LOCALDATE);
}
@ -12549,7 +12549,7 @@ public class DSL {
* @param value The formatted <code>DATE</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<LocalDate> toLocalDate(String value, Field<String> format) {
return toDate(value, format).coerce(SQLDataType.LOCALDATE);
}
@ -12560,7 +12560,7 @@ public class DSL {
* @param value The formatted <code>DATE</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<LocalDate> toLocalDate(Field<String> value, String format) {
return toDate(value, format).coerce(SQLDataType.LOCALDATE);
}
@ -12571,7 +12571,7 @@ public class DSL {
* @param value The formatted <code>DATE</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<LocalDate> toLocalDate(Field<String> value, Field<String> format) {
return toDate(value, format).coerce(SQLDataType.LOCALDATE);
}
@ -12582,7 +12582,7 @@ public class DSL {
* @param value The formatted <code>TIMESTAMP</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<LocalDateTime> toLocalDateTime(String value, String format) {
return toTimestamp(value, format).coerce(SQLDataType.LOCALDATETIME);
}
@ -12593,7 +12593,7 @@ public class DSL {
* @param value The formatted <code>TIMESTAMP</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<LocalDateTime> toLocalDateTime(String value, Field<String> format) {
return toTimestamp(value, format).coerce(SQLDataType.LOCALDATETIME);
}
@ -12604,7 +12604,7 @@ public class DSL {
* @param value The formatted <code>TIMESTAMP</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<LocalDateTime> toLocalDateTime(Field<String> value, String format) {
return toTimestamp(value, format).coerce(SQLDataType.LOCALDATETIME);
}
@ -12615,7 +12615,7 @@ public class DSL {
* @param value The formatted <code>TIMESTAMP</code> value.
* @param format The vendor-specific formatting string.
*/
@Support({ H2, POSTGRES })
@Support({ H2, HSQLDB, POSTGRES })
public static Field<LocalDateTime> toLocalDateTime(Field<String> value, Field<String> format) {
return toTimestamp(value, format).coerce(SQLDataType.LOCALDATETIME);
}