All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.erudika.para.search.MockSearch Maven / Gradle / Ivy

There is a newer version: 1.50.3
Show newest version
/*
 * Copyright 2013-2017 Erudika. https://erudika.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * For issues and patches go to: https://github.com/erudika
 */
package com.erudika.para.search;

import com.erudika.para.core.ParaObject;
import com.erudika.para.utils.Pager;
import java.util.List;
import java.util.Map;
import javax.inject.Singleton;

/**
 *
 * @author Alex Bogdanovski [[email protected]]
 */
@Singleton
public class MockSearch implements Search {

	@Override
	public void index(ParaObject po) {
		throw new UnsupportedOperationException("Not implemented.");
	}

	@Override
	public void index(String appid, ParaObject po) {
		throw new UnsupportedOperationException("Not implemented.");
	}

	@Override
	public void index(String appid, ParaObject po, long ttl) {
		throw new UnsupportedOperationException("Not implemented.");
	}

	@Override
	public void unindex(ParaObject po) {
		throw new UnsupportedOperationException("Not implemented.");
	}

	@Override
	public void unindex(String appid, ParaObject po) {
		throw new UnsupportedOperationException("Not implemented.");
	}

	@Override
	public 

void indexAll(List

objects) { throw new UnsupportedOperationException("Not implemented."); } @Override public

void indexAll(String appid, List

objects) { throw new UnsupportedOperationException("Not implemented."); } @Override public

void unindexAll(List

objects) { throw new UnsupportedOperationException("Not implemented."); } @Override public

void unindexAll(String appid, List

objects) { throw new UnsupportedOperationException("Not implemented."); } @Override public void unindexAll(Map terms, boolean matchAll) { throw new UnsupportedOperationException("Not implemented."); } @Override public void unindexAll(String appid, Map terms, boolean matchAll) { throw new UnsupportedOperationException("Not implemented."); } @Override public

P findById(String id) { throw new UnsupportedOperationException("Not implemented."); } @Override public

P findById(String appid, String id) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findByIds(List ids) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findByIds(String appid, List ids) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findNearby(String type, String query, int radius, double lat, double lng, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findNearby(String appid, String type, String query, int radius, double lat, double lng, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findPrefix(String type, String field, String prefix, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findPrefix(String appid, String type, String field, String prefix, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findQuery(String type, String query, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findQuery(String appid, String type, String query, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findNestedQuery(String type, String field, String query, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findNestedQuery(String appid, String type, String field, String query, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findSimilar(String type, String filterKey, String[] fields, String liketext, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findSimilar(String appid, String type, String filterKey, String[] fields, String liketext, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findTagged(String type, String[] tags, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findTagged(String appid, String type, String[] tags, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findTags(String keyword, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findTags(String appid, String keyword, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findTermInList(String type, String field, List terms, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findTermInList(String appid, String type, String field, List terms, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findTerms(String type, Map terms, boolean matchAll, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findTerms(String appid, String type, Map terms, boolean matchAll, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findWildcard(String type, String field, String wildcard, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public

List

findWildcard(String appid, String type, String field, String wildcard, Pager... pager) { throw new UnsupportedOperationException("Not implemented."); } @Override public Long getCount(String type) { throw new UnsupportedOperationException("Not implemented."); } @Override public Long getCount(String appid, String type) { throw new UnsupportedOperationException("Not implemented."); } @Override public Long getCount(String type, Map terms) { throw new UnsupportedOperationException("Not implemented."); } @Override public Long getCount(String appid, String type, Map terms) { throw new UnsupportedOperationException("Not implemented."); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy