/** * @inheritDoc */ @Override public <T> List<T> query(String query, String defaultField, int resultLimit, Class<T> projectionType) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
@Override protected Class<? extends Annotation>[] getMethodCacheAnnotationTypes() { return asArray(javax.cache.annotation.CachePut.class, CacheRemove.class, CacheRemoveAll.class, CacheResult.class); } }
/** * Returns a {@link List} of application domain object fields to be indexed. * * @return a {@link List} of application domain object fields to be indexed. * @see #getFieldAnalyzers() * @see java.util.List */ protected List<String> getFields() { return nullSafeList(this.fields); }
/** * Null-safe method to return the first element in the array or {@literal null} * if the array is {@literal null} or empty. * * @param <T> Class type of the array elements. * @param array the array from which to extract the first element. * @return the first element in the array or {@literal null} if the array is null or empty. * @see #getFirst(Object[], Object) */ public static <T> T getFirst(T[] array) { return getFirst(array, null); }
/** * @inheritDoc */ @Override public <T> Page<T> query(LuceneQueryProvider queryProvider, int resultLimit, int pageSize, Class<T> projectionType) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); } }
/** * @inheritDoc */ @Override public int getTotalPages() { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public <S> Page<S> map(Function<? super T, ? extends S> converter) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); } }
/** * @inheritDoc */ @Override public <T> List<T> query(String query, String defaultField, int resultLimit, Class<T> projectionType) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public <T> List<T> query(LuceneQueryProvider queryProvider, int resultLimit, Class<T> projectionType) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public <K, V> PageableLuceneQueryResults<K, V> query(String query, String defaultField, int resultLimit, int pageSize) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public <K, V> PageableLuceneQueryResults<K, V> query(LuceneQueryProvider queryProvider, int resultLimit, int pageSize) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public boolean hasNext() { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public Sort getSort() { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public <S> Slice<S> map(Function<? super T, ? extends S> converter) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public <T> Page<T> query(LuceneQueryProvider queryProvider, int resultLimit, int pageSize, Class<T> projectionType) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); } }
/** * @inheritDoc */ @Override public <K, V> PageableLuceneQueryResults<K, V> query(String query, String defaultField, int resultLimit, int pageSize) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public <K, V> List<LuceneResultStruct<K, V>> query(LuceneQueryProvider queryProvider, int resultLimit) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }
/** * @inheritDoc */ @Override public <S> Page<S> map(Function<? super T, ? extends S> converter) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); } }
/** * @inheritDoc */ @Override public <T> Page<T> query(LuceneQueryProvider queryProvider, int resultLimit, int pageSize, Class<T> projectionType) { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); } }
/** * @inheritDoc */ @Override public List<T> getContent() { throw newUnsupportedOperationException(RuntimeExceptionFactory.NOT_IMPLEMENTED); }