Package mil.nga.giat.geowave.store.index

Examples of mil.nga.giat.geowave.store.index.CommonIndexModel


  @Override
  public T decode(
      final IndexedAdapterPersistenceEncoding data,
      final Index index ) {
    final RowBuilder<T, Object> builder = newBuilder();
    final CommonIndexModel indexModel = index.getIndexModel();
    for (final DimensionField<? extends CommonIndexValue> dimension : indexModel.getDimensions()) {
      final IndexFieldHandler<T, CommonIndexValue, Object> fieldHandler = (IndexFieldHandler<T, CommonIndexValue, Object>) getFieldHandler(dimension);
      if (fieldHandler == null) {
        continue;
      }
      final CommonIndexValue value = data.getCommonData().getValue(
View Full Code Here


   */
  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>(
View Full Code Here

  public static <T> IngestEntryInfo getIngestInfo(
      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>(
View Full Code Here

TOP

Related Classes of mil.nga.giat.geowave.store.index.CommonIndexModel

Copyright © 2018 www.massapicom. 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.