Examples of OutputSchema


Examples of org.apache.pig.builtin.OutputSchema

     *
     * @param input Schema of the input
     * @return Schema of the output
     */
    public Schema outputSchema(Schema input) {
        OutputSchema schema = this.getClass().getAnnotation(OutputSchema.class);
        try {
            return (schema == null) ? null : Utils.getSchemaFromString(schema.value());
        } catch (ParserException e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

Examples of org.apache.pig.builtin.OutputSchema

     *
     * @param input Schema of the input
     * @return Schema of the output
     */
    public Schema outputSchema(Schema input) {
        OutputSchema schema = this.getClass().getAnnotation(OutputSchema.class);
        try {
            return (schema == null) ? null : Utils.getSchemaFromString(schema.value());
        } catch (ParserException e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

Examples of org.apache.pig.builtin.OutputSchema

     *
     * @param input Schema of the input
     * @return Schema of the output
     */
    public Schema outputSchema(Schema input) {
        OutputSchema schema = this.getClass().getAnnotation(OutputSchema.class);
        try {
            return (schema == null) ? null : Utils.getSchemaFromString(schema.value());
        } catch (ParserException e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

Examples of org.fao.geonet.csw.common.OutputSchema

  public Element execute(Element request, ServiceContext context) throws CatalogException {
    checkService(request);
    checkVersion(request);
    //-- Added for CSW 2.0.2 compliance by warnock@awcubed.com
    checkOutputFormat(request);
    OutputSchema outSchema = OutputSchema.parse(request.getAttributeValue("outputSchema"));
    //--------------------------------------------------------

    ElementSetName setName = getElementSetName(request, ElementSetName.SUMMARY);

    Element response = new Element(getName() +"Response", Csw.NAMESPACE_CSW);
View Full Code Here

Examples of org.fao.geonet.csw.common.OutputSchema

        // one of "hits", "results", "validate" or the GN-specific (invalid) "results_with_summary".
        ResultType resultType = ResultType.parse(request.getAttributeValue("resultType"));

        // either Record or IsoRecord
        OutputSchema outSchema = OutputSchema.parse(request.getAttributeValue("outputSchema"));

        // GeoNetwork-specific parameter defining how to deal with ElementNames. See documentation in
        // SearchController.applyElementNames() about these strategies.
        String elementnameStrategy = getElementNameStrategy(query);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.