Spring Data Elasticsearch4.0.1 Chinese translation document (sections 8-11)
8. Elasticsearch Repositories
This chapter includes details of the implementation of the elastic search repository
8.1.1. Query methods
The elastic search module supports all basic query building features, such as string queries, native search queries, condition based queries, or derived queries from ...
Posted on Sat, 13 Jun 2020 04:11:07 -0400 by Fabrizzio PHP
MyBatis first day of study
Introduction
The mybatis framework is a Java-based persistent layer framework that supports custom frameworks. This article is mainly to understand the mybatis framework, to give a simple introduction to the mybatis framework, to understand how the mybatis framework achieves the operation of the Java ...
Posted on Fri, 12 Jun 2020 21:34:54 -0400 by beinerts
[SpringCloud] 12 Hystrix Fuse
1. What is Hystrix and why do I need him?
1. In the micro-service architecture, services are split into individual services based on business, and there is a dependency between services (e.g. user adjusts commodities,
Adjust inventory, order, etc.), using RestTemplate+Ribbon and Feign between multiple ...
Posted on Thu, 11 Jun 2020 21:46:36 -0400 by shainh
Chapter 5 advanced CustomView animation
It is difficult to achieve some complex animation effects only by changing the control properties, such as the Nexus boot animation. This will show how to use PathMeasure and SVG animation to achieve complex animation effects.
initialization:
PathMeasure is similar to a calculator. It can calculate ...
Posted on Thu, 11 Jun 2020 03:34:19 -0400 by steve m
Learning notes on knowledge points of HttpServlet
Servlet
concept
step
Principle of execution
life cycle
Servlet 3.0 annotation configuration
The architecture of Servlet
GenericServlet: the default null implementation of other methods in the Servlet interface, only the service() method as an abstraction
When defining a Servlet class in t ...
Posted on Thu, 11 Jun 2020 02:31:38 -0400 by Duswa
Using Kotlin to develop Android application (10) - Navigation of architecture components
Navigation of architecture components
Navigation component is a library that can manage complex navigation, transition animation, deep link and compile time check parameter transfer among multiple screens in the application
To use Navigation, you need to build.gradle Add dependency to:
implementation 'androidx.navigation:navigation-fragment: ...
Posted on Thu, 11 Jun 2020 00:51:42 -0400 by df75douglas
Add a SpringBootAdmin monitoring
0. Preface
In the previous chapters, we first built a project framework, and then built a gateway project using nacos. There are not too many things configured in the gateway project. Now we will build another important project in Spring Cloud microservices spring boot admin
1. Introduction to spring boot admin
Spring Boot Admin is used to mon ...
Posted on Wed, 10 Jun 2020 21:43:28 -0400 by ptolomea
Simple implementation of Android Notepad function
The implementation of Android Notepad function
time stamp
Time stamp of edit box
Get system time and transform format
Save the time to the database and update the time every time you modify it
About the layout of time
Initialize view
Time stamp for notepad list
Time to get each note from the data ...
Posted on Tue, 09 Jun 2020 03:50:09 -0400 by sumday
. NET Core integrates log4net and global exception capture
1, Foreword Log4net is a well-known log provider. When. NET Core released 1.0, log4net was already supported. However, there is no log4net in the official log provider recommended by. NET Core, and I don't know the internal reason. Write a gadget with. NET Core, in which log4net is used for logging. This paper mainly records how to integrate lo ...
Posted on Tue, 09 Jun 2020 00:09:50 -0400 by phreud
Official introduction to Android CameraX
Getting started with CameraX
1. Before you start
2. Create project
1) Project new
2) Add Gradle dependency
3) Create viewfinder layout
4) Settings MainActivity.kt
3. Request camera permission
4. Implementation preview case
5. Implement ImageCapture use case
6. Implement image analysis use case
7. C ...
Posted on Mon, 08 Jun 2020 23:25:51 -0400 by rushdot