Loading src/main/java/es/redmic/elasticsearchlib/common/query/DataQueryUtils.java +21 −1 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.query; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import java.util.ArrayList; import java.util.HashMap; import java.util.List; Loading src/main/java/es/redmic/elasticsearchlib/common/query/SimpleQueryUtils.java +21 −1 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.query; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import java.util.List; import org.elasticsearch.index.query.BoolQueryBuilder; Loading src/main/java/es/redmic/elasticsearchlib/common/repository/IRWBaseESRepository.java +20 −0 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.repository; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import org.elasticsearch.common.xcontent.XContentBuilder; import es.redmic.models.es.common.dto.EventApplicationResult; Loading src/main/java/es/redmic/elasticsearchlib/common/repository/RBaseESRepository.java +21 −1 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.repository; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import java.io.IOException; import java.io.InputStream; import java.lang.reflect.ParameterizedType; Loading src/main/java/es/redmic/elasticsearchlib/common/utils/ElasticPersistenceUtils.java +20 −0 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.utils; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import java.io.IOException; import java.util.ArrayList; import java.util.List; Loading Loading
src/main/java/es/redmic/elasticsearchlib/common/query/DataQueryUtils.java +21 −1 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.query; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import java.util.ArrayList; import java.util.HashMap; import java.util.List; Loading
src/main/java/es/redmic/elasticsearchlib/common/query/SimpleQueryUtils.java +21 −1 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.query; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import java.util.List; import org.elasticsearch.index.query.BoolQueryBuilder; Loading
src/main/java/es/redmic/elasticsearchlib/common/repository/IRWBaseESRepository.java +20 −0 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.repository; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import org.elasticsearch.common.xcontent.XContentBuilder; import es.redmic.models.es.common.dto.EventApplicationResult; Loading
src/main/java/es/redmic/elasticsearchlib/common/repository/RBaseESRepository.java +21 −1 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.repository; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import java.io.IOException; import java.io.InputStream; import java.lang.reflect.ParameterizedType; Loading
src/main/java/es/redmic/elasticsearchlib/common/utils/ElasticPersistenceUtils.java +20 −0 Original line number Diff line number Diff line package es.redmic.elasticsearchlib.common.utils; /*- * #%L * elasticsearch-lib * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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. * #L% */ import java.io.IOException; import java.util.ArrayList; import java.util.List; Loading