Mercurial > hg > monetdb-java
comparison src/main/java/org/monetdb/mcl/net/Parameter.java @ 864:b80758ef25db
Add missing license headers
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 01 Feb 2024 17:45:49 +0100 (15 months ago) |
parents | 4d80fd66541d |
children | 5a59910e8f87 |
comparison
equal
deleted
inserted
replaced
863:9d21c6e7ed26 | 864:b80758ef25db |
---|---|
1 /* | |
2 * SPDX-License-Identifier: MPL-2.0 | |
3 * | |
4 * This Source Code Form is subject to the terms of the Mozilla Public | |
5 * License, v. 2.0. If a copy of the MPL was not distributed with this | |
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
7 * | |
8 * Copyright 2024 MonetDB Foundation; | |
9 * Copyright August 2008 - 2023 MonetDB B.V.; | |
10 * Copyright 1997 - July 2008 CWI. | |
11 */ | |
12 | |
1 package org.monetdb.mcl.net; | 13 package org.monetdb.mcl.net; |
2 | |
3 | 14 |
4 import java.util.Calendar; | 15 import java.util.Calendar; |
5 | 16 |
6 /** | 17 /** |
7 * Enumerates things that can be configured on a connection to MonetDB. | 18 * Enumerates things that can be configured on a connection to MonetDB. |
29 REPLYSIZE("replysize", ParameterType.Int, 250, "rows beyond this limit are retrieved on demand, <1 means unlimited", false), | 40 REPLYSIZE("replysize", ParameterType.Int, 250, "rows beyond this limit are retrieved on demand, <1 means unlimited", false), |
30 FETCHSIZE("fetchsize", ParameterType.Int, null, "alias for replysize, specific to jdbc", false), | 41 FETCHSIZE("fetchsize", ParameterType.Int, null, "alias for replysize, specific to jdbc", false), |
31 HASH("hash", ParameterType.Str, "", "specific to jdbc", false), | 42 HASH("hash", ParameterType.Str, "", "specific to jdbc", false), |
32 DEBUG("debug", ParameterType.Bool, false, "specific to jdbc", false), | 43 DEBUG("debug", ParameterType.Bool, false, "specific to jdbc", false), |
33 LOGFILE("logfile", ParameterType.Str, "", "specific to jdbc", false), | 44 LOGFILE("logfile", ParameterType.Str, "", "specific to jdbc", false), |
34 | |
35 SO_TIMEOUT("so_timeout", ParameterType.Int, 0, "abort if network I/O does not complete in this many milliseconds", false), CLOB_AS_VARCHAR("treat_clob_as_varchar", ParameterType.Bool, true, "return CLOB/TEXT data as type VARCHAR instead of type CLOB", false), BLOB_AS_BINARY("treat_blob_as_binary", ParameterType.Bool, true, "return BLOB data as type BINARY instead of type BLOB", false), | 45 SO_TIMEOUT("so_timeout", ParameterType.Int, 0, "abort if network I/O does not complete in this many milliseconds", false), CLOB_AS_VARCHAR("treat_clob_as_varchar", ParameterType.Bool, true, "return CLOB/TEXT data as type VARCHAR instead of type CLOB", false), BLOB_AS_BINARY("treat_blob_as_binary", ParameterType.Bool, true, "return BLOB data as type BINARY instead of type BLOB", false), |
36 ; | 46 ; |
37 | 47 |
38 public final String name; | 48 public final String name; |
39 public final ParameterType type; | 49 public final ParameterType type; |