Examples of PartitionType


Examples of org.apache.hadoop.hbase.index.ValuePartition.PartitionType

  }

  @Override
  public void readFields(DataInput in) throws IOException {
    super.readFields(in);
    PartitionType p = PartitionType.valueOf(in.readUTF());
    if (p.equals(PartitionType.SEPARATOR)) {
      valuePartition = new SeparatorPartition();
    } else if (p.equals(PartitionType.SPATIAL)) {
      valuePartition = new SpatialPartition();
    }
    if (valuePartition != null) {
      valuePartition.readFields(in);
    }
View Full Code Here

Examples of org.apache.hadoop.hbase.index.ValuePartition.PartitionType

  public void readFields(DataInput in) throws IOException {
    this.cfBytes = Bytes.readByteArray(in);
    this.qualifierBytes = Bytes.readByteArray(in);
    this.type = ValueType.valueOf(Bytes.toString(Bytes.readByteArray(in)));
    this.maxValueLength = in.readInt();
    PartitionType p = PartitionType.valueOf(in.readUTF());
    if (p.equals(PartitionType.SEPARATOR)) {
      valuePartition = new SeparatorPartition();
    } else if (p.equals(PartitionType.SPATIAL)) {
      valuePartition = new SpatialPartition();
    }
    if (valuePartition != null) {
      valuePartition.readFields(in);
    }
View Full Code Here

Examples of org.broadinstitute.gatk.engine.walkers.PartitionType

     * Returns the scatter type for a walker.
     * @param walkerType The walker to check.
     * @return The scatter type for the walker.
     */
    private String getScatterClass(Class<? extends Walker> walkerType) {
        PartitionType partitionType = walkerType.getAnnotation(PartitionBy.class).value();
        if (partitionType == PartitionType.NONE)
            return null;
        return StringUtils.capitalize(partitionType.name().toLowerCase()) + "ScatterFunction";
    }
View Full Code Here

Examples of org.dmg.pmml._40.PartitionType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetPartition(PartitionType newPartition, NotificationChain msgs) {
    PartitionType oldPartition = partition;
    partition = newPartition;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.NODE_TYPE__PARTITION, oldPartition, newPartition);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.dmg.pmml._40.PartitionType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetPartition(PartitionType newPartition, NotificationChain msgs) {
    PartitionType oldPartition = partition;
    partition = newPartition;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.TARGET_VALUE_TYPE__PARTITION, oldPartition, newPartition);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.dmg.pmml._40.PartitionType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetPartition(PartitionType newPartition, NotificationChain msgs) {
    PartitionType oldPartition = partition;
    partition = newPartition;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, _40Package.CLUSTER_TYPE__PARTITION, oldPartition, newPartition);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.jboss.ide.eclipse.freemarker.editor.partitions.PartitionType

        }
        if (monitor != null) {
          monitor.worked(index);
        }
        ITypedRegion region = doc.getPartition(index);
        PartitionType partitionType = PartitionType.fastValueOf(region
            .getType());
        if (partitionType != null) {
          ITokenScanner scanner = itemParsers.get(partitionType);
          if (scanner != null) {
            if (newMode != this.syntaxMode
View Full Code Here

Examples of org.jboss.ide.eclipse.freemarker.editor.partitions.PartitionType

      Directive directiveType = Directive.fastValueOf(type);
      if (directiveType != null) {
        directive = directiveType.createModelItem(itemSet);
      }
      else {
        PartitionType partitionType = PartitionType.fastValueOf(type);
        switch (partitionType) {
        case DOLLAR_INTERPOLATION:
        case HASH_INTERPOLATION:
          directive = new Interpolation(itemSet);
          break;
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.