svn-gvsig-desktop / branches / v2_0_0_prep / extensions / org.gvsig.oracle / src / org / gvsig / fmap / dal / store / oracle / OracleValues.java @ 29932
History | View | Annotate | Download (2.61 KB)
1 |
package org.gvsig.fmap.dal.store.oracle; |
---|---|
2 |
|
3 |
|
4 |
|
5 |
public class OracleValues { |
6 |
|
7 |
public static int FETCH_SIZE = 15000; |
8 |
|
9 |
public static final int GEODETIC_FULLEXTENT_SAMPLE_SIZE = 50; |
10 |
public static final String GEODETIC_SRID = "8307"; |
11 |
|
12 |
// ------------------------------------------------
|
13 |
public static final String NAME = "Oracle Database Driver"; |
14 |
public static final int ID_COLUMN_INDEX = 1; |
15 |
|
16 |
public static final String ALL_ORACLE_GEOMETADATA_VIEW = "ALL_SDO_GEOM_METADATA"; |
17 |
public static final String USER_ORACLE_GEOMETADATA_VIEW = "USER_SDO_GEOM_METADATA"; |
18 |
|
19 |
public static final String ORACLE_EPSG_TABLE_NAME = "ORA_EPSG"; |
20 |
public static final String ORACLE_EPSG_FILE_NAME = "ORA_EPSG.DBF"; |
21 |
public static final String DEFAULT_GEO_FIELD = "GEOMETRY"; |
22 |
|
23 |
public static final String ORACLE_ID_FIELD = "ROWID"; |
24 |
public static final String DEFAULT_ID_FIELD_CASE_SENSITIVE = "GID"; |
25 |
public static final String ORACLE_GEO_SCHEMA = "MDSYS"; |
26 |
public static final String CONN_STR_BEGIN = "jdbc:oracle:"; |
27 |
|
28 |
public static final int VARCHAR2_STANDARD_SIZE = 80; |
29 |
public static final int VARCHAR2_LONG_SIZE = 256; |
30 |
public static final int MAX_ID_LENGTH = 30; |
31 |
public static final double IRRELEVANT_DISTANCE = 0.00000001; |
32 |
private static final long ID_MIN_DELAY = 1000; |
33 |
|
34 |
// --------------------------------------------------------
|
35 |
|
36 |
public static final String OraGeometry_GTYPE_COLLECTION = "Collection"; |
37 |
public static final String OraGeometry_GTYPE_CURVE = "Curve"; |
38 |
public static final String OraGeometry_GTYPE_MULTICURVE = "Multi-curve"; |
39 |
public static final String OraGeometry_GTYPE_MULTIPOINT = "Multi-point"; |
40 |
public static final String OraGeometry_GTYPE_MULTIPOLYGON = "Multi-polygon"; |
41 |
public static final String OraGeometry_GTYPE_POINT = "Point"; |
42 |
public static final String OraGeometry_GTYPE_POLYGON = "Polygon"; |
43 |
public static final String OraGeometry_GTYPE_GEOMETRY = "MDSYS.SDO_GEOMETRY"; |
44 |
|
45 |
|
46 |
//----------------------------------------------------
|
47 |
public static double FLATNESS = 0.8; |
48 |
public static final int ORACLE_GTYPE_UNKNOWN = 0; |
49 |
public static final int ORACLE_GTYPE_POINT = 1; |
50 |
public static final int ORACLE_GTYPE_LINE = 2; |
51 |
public static final int ORACLE_GTYPE_POLYGON = 3; |
52 |
public static final int ORACLE_GTYPE_COLLECTION = 4; |
53 |
public static final int ORACLE_GTYPE_MULTIPOINT = 5; |
54 |
public static final int ORACLE_GTYPE_MULTILINE = 6; |
55 |
public static final int ORACLE_GTYPE_MULTIPOLYGON = 7; |
56 |
|
57 |
public static final int ORACLE_GTYPE_COMPLEX_VOIDED_POLYON = 3; |
58 |
public static final int ORACLE_GTYPE_COMPLEX_COMPOUND_LINE = 4; |
59 |
public static final int ORACLE_GTYPE_COMPLEX_COMPOUND_POLYON = 5; |
60 |
|
61 |
|
62 |
} |