Examples of Column


Examples of com.facebook.presto.client.Column

                    // this is a hack to suppress the warn message in the client saying that there are no columns.
                    // The reason for this is that the current API definition assumes that everything is a query,
                    // so statements without results produce an error in the client otherwise.
                    //
                    // TODO: add support to the API for non-query statements.
                    columns = ImmutableList.of(new Column("result", "varchar"));
                    data = ImmutableSet.<List<Object>>of(ImmutableList.<Object>of("true"));
                }
            }

            // only return a next if the query is not done or there is more data to send (due to buffering)
View Full Code Here

Examples of com.facebook.presto.execution.Column

                    domain = partitionsDomainSummary.getDomains().get(entry.getValue());
                }
                else if (partitionsDomainSummary.isNone()) {
                    domain = Domain.none(columnMetadata.getType().getNativeType());
                }
                Column column = new Column(
                        columnMetadata.getName(),
                        columnMetadata.getType().toString(),
                        Optional.fromNullable(SimpleDomain.fromDomain(domain)));
                columnBuilder.add(column);
            }
View Full Code Here

Examples of com.foundationdb.ais.model.Column

    }

    @Override
    protected void postCheckAIS(AkibanInformationSchema ais) {
        Table table = ais.getTable(SCHEMA, TABLE);
        Column column = table.getColumn(COLUMN);
        assertEquals("column nullable", expectedNullable, column.getNullable());
    }
View Full Code Here

Examples of com.founder.fix.bpmn2extensions.sqlmappingconfig.Column

        dataBaseTable.setArchiveTable(element.attributeValue("archiveTable"));
        //dataBaseTable.setMappingType(element.attributeValue("mappingType"));

        for (Object eleNew : element.elements("column")) {
          Element columnElement = (Element) eleNew;
          Column column = SqlmappingconfigFactory.eINSTANCE.createColumn();
          column.setColumn(columnElement.attributeValue("column"));
          column.setName(columnElement.attributeValue("name"));
          column.setJdbcType(columnElement.attributeValue("jdbcType"));
          //column.setProperty(columnElement.attributeValue("property"));
          //column.setSimpleKey(columnElement.attributeValue("property"));

          dataBaseTable.getColumn().add(column);
          columnMap.put(dataBaseTable.getTableId()+"_"+column.getColumn(), column);
        }

        dataBaseTables.put(dataBaseTable.getTableId(), dataBaseTable);

      }
View Full Code Here

Examples of com.github.kopylec.rapidjdbc.annotation.Column

        Map<String, Field> fieldsByColumns = new HashMap<String, Field>();
        Field[] fields = entityClass.getDeclaredFields();

        for (Field field : fields) {
            Column column = field.getAnnotation(Column.class);
            if (column != null) {
                LOGGER.trace("Annotation {} with value \"{}\" found on field \"{}\"", Column.class.getName(), column.value(), field.getName());
                field.setAccessible(true);
                fieldsByColumns.put(column.value(), field);
            }
        }
        entityFieldsByClass.put(entityClass, fieldsByColumns);
    }
View Full Code Here

Examples of com.google.code.lightssh.common.web.tag.table.components.Column

   *      javax.servlet.http.HttpServletRequest,
   *      javax.servlet.http.HttpServletResponse)
   */
  public Component getBean(ValueStack stack, HttpServletRequest req,
      HttpServletResponse res) {
    return new Column(stack, req, res);
  }
View Full Code Here

Examples of com.google.code.or.common.glossary.Column

                                     String dbFieldName,
                                     Schema.Field avroField)
                                         throws DatabusException
  {
    String f = avroField.name();
    Column fieldValue = eventFields.get(f);
    boolean isFieldNull = (fieldValue == null);
    Object fieldValueObj = null;
    try
    {
      if (! isFieldNull)
View Full Code Here

Examples of com.google.gdata.data.spreadsheet.Column

      tableData.setNumberOfRows(0);
      tableData.setStartIndex(2);
      tableData.setInsertionMode(InsertionMode.INSERT);

      // Create a title row
      tableData.addColumn(new Column("A", Entity.KEY_RESERVED_PROPERTY));
      for (int i = 0; i < properties.size(); i++) {
        String index = number2columnName(i + 1);
        String columnName = properties.get(i).getName();
        tableData.addColumn(new Column(index, columnName));
      }
      tableEntry.setData(tableData);
      tableEntry = ss.insert(tableFeedUrl, tableEntry);
      logger.info("Craeted tableFeed:" + kind);
    }
View Full Code Here

Examples of com.google.gwt.user.cellview.client.Column

      final Range range, final ColumnSortList columnSortList) {

  String sortProperty = null;
  boolean ascending = true;
  if(columnSortList.size() > 0) {
      final Column sortColumn = columnSortList.get(0).getColumn();
      sortProperty = getPropertyNameForColumn(sortColumn);
      ascending = columnSortList.get(0).isAscending();
  }

  return ((UserRequest) requestContext).searchUsers(searchCriteria,
View Full Code Here

Examples of com.google.refine.model.Column

    //helper methods

    protected void CreateColumns(int noOfColumns){
        for(int i = 0; i < noOfColumns; i++){
            try {
                project.columnModel.addColumn(i, new Column(i, "column" + i), true);
            } catch (ModelException e1) {
                Assert.fail("Could not create column");
            }
        }
    }
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.