Package org.gdbms.engine.data.metadata

Examples of org.gdbms.engine.data.metadata.DefaultMetadata


        int[] fieldTypes = new int[fieldNames.length];
        for (int i = 0; i < fieldTypes.length; i++) {
            fieldTypes[i] = fieldNameType.get(fieldNames[i]);
        }

        return new DefaultMetadata(fieldTypes, fieldNames, null, null);
    }
View Full Code Here


        fieldTypes[0] = PTTypes.GEOMETRY;
        for (int i = 1; i < fieldTypes.length; i++) {
            fieldTypes[i] = dataSourceMetadata.getFieldType(i-1);
        }
       
        return new DefaultMetadata(fieldTypes, fieldNames,
                null, null);
    }
View Full Code Here

    public String getName() {
        return null;
    }

    public Metadata getMetadata() throws DriverException {
        return new DefaultMetadata(types, names,
                null, null);
    }
View Full Code Here

    public String getName() {
        return null;
    }

    public Metadata getMetadata() throws DriverException {
        return new DefaultMetadata(types, names,
                null, null);
    }
View Full Code Here

        int[] fieldTypes = new int[fieldNames.length];
        for (int i = 0; i < fieldTypes.length; i++) {
            fieldTypes[i] = Value.STRING;
        }
       
        return new DefaultMetadata(fieldTypes, fieldNames,
                null, null);
    }
View Full Code Here

        String[] pkNames = getPKNames();
        boolean[] readOnly = new boolean[dmd.getFieldCount()];
        for (int i = 0; i < readOnly.length; i++) {
            readOnly[i] = driver.isReadOnly(i);
        }
        return new DefaultMetadata(dmd, driver, readOnly, pkNames);
    }
View Full Code Here

        boolean[] readOnly = new boolean[dmd.getFieldCount()];
        for (int i = 0; i < readOnly.length; i++) {
            readOnly[i] = driver.isReadOnly(i);
        }
       
        return new DefaultMetadata(dmd, getDriver(), readOnly, new String[0]);
    }
View Full Code Here

        boolean[] readOnly = new boolean[dmd.getFieldCount()];
        for (int i = 0; i < readOnly.length; i++) {
            readOnly[i] = driver.isReadOnly(i);
        }
       
        return new DefaultMetadata(dmd, driver, readOnly, driver.getPrimaryKeys());
    }
View Full Code Here

TOP

Related Classes of org.gdbms.engine.data.metadata.DefaultMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.