Examples of schema()


Examples of org.apache.blur.thrift.generated.Blur.Iface.schema()

    return new HashSet<String>(terms);
  }

  private static Set<String> getFields(String connectionStr, final String tableName) throws BlurException, TException, IOException {
    Iface client = BlurClient.getClient(connectionStr);
    Schema schema = client.schema(tableName);
    Set<String> fields = new HashSet<String>();
    for (String cf : schema.families.keySet()) {
      for (String field : schema.families.get(cf).keySet()) {
        fields.add(cf + "." + field);
      }
View Full Code Here

Examples of org.apache.padaf.xmpbox.schema.SchemaExtensionDefinition.schema()

        propManag.loadListFromXML(classSchem, schemDefAnnot
            .property_descriptions());
        xmlPropDesc = propManag.getPropertiesDescriptionList();
      }
      SchemaDescription desc = ext.createSchemaDescription();
      desc.setSchemaValue(schemDefAnnot.schema());
      desc.setNameSpaceURIValue(schema.getNamespaceValue());
      desc.setPrefixValue(schema.getPrefix());
      ext.addSchemaDescription(desc);
      // Try to find and load XML ValueType Description file path
      if (!schemDefAnnot.valueType_description().equals("")) {
View Full Code Here

Examples of org.apache.syncope.annotation.FormAttributeField.schema()

                    FormAttributeField annotation = field.getAnnotation(FormAttributeField.class);

                    if (listItemType.equals(String.class) && annotation != null) {
                        List<String> choices;
                        switch (annotation.schema()) {
                            case UserSchema:
                                choices = schemaRestClient.getSchemaNames(AttributableType.USER);
                                break;

                            case UserDerivedSchema:
View Full Code Here

Examples of org.apache.syncope.common.annotation.FormAttributeField.schema()

                    FormAttributeField annotation = field.getAnnotation(FormAttributeField.class);

                    if (listItemType.equals(String.class) && annotation != null) {
                        List<String> choices;
                        switch (annotation.schema()) {
                            case UserSchema:
                                choices = schemaRestClient.getSchemaNames(AttributableType.USER);
                                break;

                            case UserDerivedSchema:
View Full Code Here

Examples of org.dbwiki.data.database.Database.schema()

        Database database = wiki.database();
        // Note that database.schema() is a copy of databaseSchema that has been read back from the database
        // after being loaded in when we created new database above.
        // We should really deal with the target path separately, e.g. via extra text field
        XMLDocumentImportReader reader = new XMLDocumentImportReader(resource,
                            database.schema(),
                            path, user, false, false);
        ImportHandler importHandler = database.createImportHandler(con);
        reader.setImportHandler(importHandler);
        reader.start();
      }
View Full Code Here

Examples of org.dbwiki.data.database.DatabaseElementNode.schema()

            body.openTABLE(layout.getCSS(CSS.CSSObjectFrameActive));
            this.printUpdateLine((DatabaseAttributeNode)child, body);
            body.closeTABLE();
            body.closeTD();
            body.closeTR();
          } else if (_layouter.get(child.schema()).getEditWithParent()) {
            DatabaseGroupNode groupChild = (DatabaseGroupNode)child;
            body.openTR();
            body.openTD(layout.getCSS(CSS.CSSObjectListing));
            body.openTABLE(layout.getCSS(CSS.CSSContentFrameActive));
            body.openTR();
View Full Code Here

Examples of org.dbwiki.data.database.DatabaseGroupNode.schema()

            body.openTR();
            body.openTD(layout.getCSS(CSS.CSSObjectListing));
            body.openTABLE(layout.getCSS(CSS.CSSContentFrameActive));
            body.openTR();
            body.openTD(layout.getCSS(CSS.CSSContentTopLabelActive));
            body.text(_layouter.get(groupChild.schema()).getName());
            body.closeTD();
            body.closeTR();
            body.openTR();
            body.openTD(CSS.CSSObjectListing);
            this.printUpdateLines(groupChild, body);
View Full Code Here

Examples of org.dbwiki.data.document.DocumentAttributeNode.schema()

      throws java.sql.SQLException, org.dbwiki.exception.WikiException {
    for (int iChild = 0; iChild < group.children().size(); iChild++) {
      DocumentNode element = group.children().get(iChild);
      if (element.isAttribute()) {
        DocumentAttributeNode attributeChild = (DocumentAttributeNode)element;
        insertAttributeNode((AttributeSchemaNode)attributeChild.schema(), parent, entry, null, attributeChild.value(), attributeChild.getpre(), attributeChild.getpost());

      } else {
        DocumentGroupNode groupChild = (DocumentGroupNode)element;
        RDBMSDatabaseGroupNode node = insertGroupNode((GroupSchemaNode)groupChild.schema(), parent, entry, null, groupChild.getpre(), groupChild.getpost());
View Full Code Here

Examples of org.dbwiki.data.document.DocumentGroupNode.schema()

      }
    } else if (!_elementStack.isEmpty()) {
      DocumentNode element = _elementStack.peek();
      if (element.isGroup()) {
        DocumentGroupNode group = (DocumentGroupNode)element;
        SchemaNode childSchemaNode = ((GroupSchemaNode)group.schema()).children().get(label);
        if (childSchemaNode != null && childSchemaNode.getTimestamp().isCurrent()) {
          DocumentNode child = null;
          if (childSchemaNode.isAttribute()) {
            child = new DocumentAttributeNode((AttributeSchemaNode)childSchemaNode);
            _valueReader = new NodeValueReader();
View Full Code Here

Examples of org.eclipse.persistence.oxm.annotations.XmlVirtualAccessMethods.schema()

        if (helper.isAnnotationPresent(javaClass, XmlVirtualAccessMethods.class)) {
            XmlVirtualAccessMethods extAnnotation = (XmlVirtualAccessMethods) helper.getAnnotation(javaClass, XmlVirtualAccessMethods.class);
            org.eclipse.persistence.jaxb.xmlmodel.XmlVirtualAccessMethods xmlExt = new org.eclipse.persistence.jaxb.xmlmodel.XmlVirtualAccessMethods();
            xmlExt.setGetMethod(extAnnotation.getMethod());
            xmlExt.setSetMethod(extAnnotation.setMethod());
            xmlExt.setSchema(org.eclipse.persistence.jaxb.xmlmodel.XmlVirtualAccessMethodsSchema.valueOf(extAnnotation.schema().toString()));
            info.setXmlVirtualAccessMethods(xmlExt);
        }
    }

    /**
 
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.