Package org.teiid.api.exception.query

Examples of org.teiid.api.exception.query.QueryMetadataException


                break;
            case SupportConstants.Element.SIGNED:
                supports = (Boolean) element.getProperty(FakeMetadataObject.Props.SIGNED);
                break;
      default:
        throw new QueryMetadataException("Unknown element support constant: " + elementConstant); //$NON-NLS-1$
    }
        if(supports != null) {
        return supports.booleanValue();
        }
        return false;
View Full Code Here


        Assertion.isNotNull(fullyQualifiedProcedureName);

        FakeMetadataObject procedureID = store.findObject(fullyQualifiedProcedureName, FakeMetadataObject.PROCEDURE);
        if(procedureID == null) {
            throw new QueryMetadataException("Unknown stored procedure: " + fullyQualifiedProcedureName); //$NON-NLS-1$
        }

        StoredProcedureInfo procInfo = new StoredProcedureInfo();
        procInfo.setProcedureID(procedureID);
        procInfo.setModelID(procedureID.getProperty(FakeMetadataObject.Props.MODEL));
View Full Code Here

TOP

Related Classes of org.teiid.api.exception.query.QueryMetadataException

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.