Examples of AdapterPersistenceEncoding


Examples of mil.nga.giat.geowave.store.adapter.AdapterPersistenceEncoding

                    sm,
                    new Point())).getDataBuffer(),
            mergeStrategy.getMetadata(
                entry,
                this))));
    final AdapterPersistenceEncoding encoding;
    if (entry instanceof FitToIndexGridCoverage) {
      encoding = new FitToIndexPersistenceEncoding(
          getAdapterId(),
          new ByteArrayId(
              new byte[] {}),
          new PersistentDataset<CommonIndexValue>(),
          adapterExtendedData,
          ((FitToIndexGridCoverage) entry).getIndexId());
    }
    else {
      // this shouldn't happen
      LOGGER.warn("Grid coverage is not fit to the index");
      encoding = new AdapterPersistenceEncoding(
          getAdapterId(),
          new ByteArrayId(
              new byte[] {}),
          new PersistentDataset<CommonIndexValue>(),
          adapterExtendedData);
View Full Code Here

Examples of mil.nga.giat.geowave.store.adapter.AdapterPersistenceEncoding

  public static <T> List<ByteArrayId> getRowIds(
      final WritableDataAdapter<T> dataWriter,
      final Index index,
      final T entry ) {
    final CommonIndexModel indexModel = index.getIndexModel();
    final AdapterPersistenceEncoding encodedData = dataWriter.encode(
        entry,
        indexModel);
    final List<ByteArrayId> insertionIds = encodedData.getInsertionIds(index);
    final List<ByteArrayId> rowIds = new ArrayList<ByteArrayId>(
        insertionIds.size());

    addToRowIds(
        rowIds,
View Full Code Here

Examples of mil.nga.giat.geowave.store.adapter.AdapterPersistenceEncoding

      final WritableDataAdapter<T> dataWriter,
      final Index index,
      final T entry,
      final VisibilityWriter<T> customFieldVisibilityWriter ) {
    final CommonIndexModel indexModel = index.getIndexModel();
    final AdapterPersistenceEncoding encodedData = dataWriter.encode(
        entry,
        indexModel);
    final List<ByteArrayId> insertionIds = encodedData.getInsertionIds(index);
    final List<ByteArrayId> rowIds = new ArrayList<ByteArrayId>(
        insertionIds.size());
    final PersistentDataset extendedData = encodedData.getAdapterExtendedData();
    final PersistentDataset indexedData = encodedData.getCommonData();
    final List<PersistentValue> extendedValues = extendedData.getValues();
    final List<PersistentValue> commonValues = indexedData.getValues();

    final List<FieldInfo> fieldInfoList = new ArrayList<FieldInfo>();
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.