01: /*
02:
03: Derby - Class org.apache.derby.iapi.store.access.AccessFactoryGlobals
04:
05: Licensed to the Apache Software Foundation (ASF) under one or more
06: contributor license agreements. See the NOTICE file distributed with
07: this work for additional information regarding copyright ownership.
08: The ASF licenses this file to you under the Apache License, Version 2.0
09: (the "License"); you may not use this file except in compliance with
10: the License. You may obtain a copy of the License at
11:
12: http://www.apache.org/licenses/LICENSE-2.0
13:
14: Unless required by applicable law or agreed to in writing, software
15: distributed under the License is distributed on an "AS IS" BASIS,
16: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: See the License for the specific language governing permissions and
18: limitations under the License.
19:
20: */
21:
22: package org.apache.derby.iapi.store.access;
23:
24: /**
25:
26: Global constants provided by the Access Interface.
27:
28: **/
29:
30: public interface AccessFactoryGlobals {
31: /**************************************************************************
32: * Static constants.
33: **************************************************************************
34: */
35: /**
36: * The name for user transactions. This name will be displayed by the
37: * transactiontable VTI.
38: */
39: public static final String USER_TRANS_NAME = "UserTransaction";
40:
41: /**
42: * The name for system transactions. This name will be displayed by the
43: * transactiontable VTI.
44: */
45: public static final String SYS_TRANS_NAME = "SystemTransaction";
46:
47: /**
48: * Overflow Threshold
49: *
50: * This defined how large the row can be before it becomes a long row,
51: * during an insert.
52: *
53: * @see org.apache.derby.iapi.store.raw.Page
54: */
55: public static final int BTREE_OVERFLOW_THRESHOLD = 50;
56: public static final int HEAP_OVERFLOW_THRESHOLD = 100;
57: public static final int SORT_OVERFLOW_THRESHOLD = 100;
58:
59: public static final String CFG_CONGLOMDIR_CACHE = "ConglomerateDirectoryCache";
60:
61: public static final String HEAP = "heap";
62:
63: public static final String DEFAULT_PROPERTY_NAME = "derby.defaultPropertyName";
64:
65: public static final String PAGE_RESERVED_SPACE_PROP = "0";
66:
67: public static final String CONGLOM_PROP = "derby.access.Conglomerate.type";
68:
69: public static final String IMPL_TYPE = "implType";
70:
71: public static final String SORT_EXTERNAL = "sort external";
72: public static final String SORT_INTERNAL = "sort internal";
73:
74: public static final String NESTED_READONLY_USER_TRANS = "nestedReadOnlyUserTransaction";
75: public static final String NESTED_UPDATE_USER_TRANS = "nestedUpdateUserTransaction";
76:
77: public static final String RAMXACT_CONTEXT_ID = "RAMTransactionContext";
78:
79: public static final String RAMXACT_CHILD_CONTEXT_ID = "RAMChildContext";
80:
81: public static final String RAMXACT_INTERNAL_CONTEXT_ID = "RAMInternalContext";
82:
83: }
|