In depth understanding of Mybatis architecture design
architecture design
We can divide the functional architecture of Mybatis into three layers:
API interface layer: interface APIs provided for external use. Developers use these local APIs to manipulate the database. As soon as the interface layer receives the call request, it will call the data processing layer to complete the specific da ...
Posted by killfall on Tue, 30 Nov 2021 07:38:13 -0800
An article tells you what framework means
prefaceFor Android development, after working for a few years, we have to advance or change careers directly. If you are still working on Android and want to improve your understanding of the Framework, it is an essential process. Let's start today's topic.As we know, for any programming language, the entry is generally the main function.Where ...
Posted by KnottyAlder on Mon, 29 Nov 2021 19:02:42 -0800
Aggregation operation of MongoDB learning
Basic operation of MongoDB learningThe aggregation operation of mongo is similar to the query of mysqlSQL operations / functionsmongodb aggregation operationwhere$matchgroup by$grouphaving$matchselect$projectorder by$sortlimit$limitsum()$sumcount()$sumjoin$lookupThe following examples are compared with sqlThe following is a basic structure for ...
Posted by asfaw on Mon, 29 Nov 2021 17:44:57 -0800
Understand the basic Object classes in Java
1, Object description
Source code note: the Object class is the Root node of the hierarchical relationship of all classes. As the superclass of all classes, including arrays, it also implements the methods of this class. Note that what is said here is very clear, referring to the class level.
Therefore, there is a common saying in Java that e ...
Posted by d_barszczak on Mon, 29 Nov 2021 00:23:38 -0800
Offset analysis function of MySQL advanced application window function
preface
This article will explain the offset analysis function + over() through an example
1, Concept of offset analysis function
lag(col,n,default): used to count the value of the nth row up in the group.
The first parameter is the column nameThe second parameter is the nth line up (optional, not filled in, default to 1)The third ...
Posted by rhosk on Sun, 28 Nov 2021 16:41:27 -0800
Merge and sort: solve the problem of small sum and reverse order pairs
1, Small and problems
1. Title Description:
In an array, the numbers on the left of each number that are smaller than the current number are added up, which is called the small sum of the array. Find the small sum of a given array.
2. Example:
The array is: [1,3,4,2,5]
1 the number smaller than 1 on the left: No
3 the number smaller than ...
Posted by porco on Sun, 28 Nov 2021 10:30:33 -0800
How to design an awesome API interface
In daily development, there are always various interfaces. Front and rear end data transmission interfaces, third-party service platform interfaces. The front and rear data transmission interfaces of a platform generally communicate in the Intranet environment and use the security framework, so the security can be well protected. This article f ...
Posted by RobbertvanOs on Sun, 28 Nov 2021 05:18:49 -0800
Java IO explains that in detail
0x01: byte stream
Byte stream base class
1. InputStream
InputStream: the base class of byte input stream. The abstract class is a superclass representing all classes of byte input stream.
Common methods:
// Reads the next byte of data from the input stream
abstract int read()
// A certain number of bytes are read from the input st ...
Posted by hl_tan on Sat, 27 Nov 2021 22:03:31 -0800
Java Reflection: dynamic class loading and overloading
Content index
Class loader Class loading system Class loading Dynamic class loading Dynamic class overloading Custom class overload Class load / reload example
Java allows you to dynamically load and reload classes at run time, but this function is not as simple and direct as people want. This article will explain how to load and overload cl ...
Posted by semlabs on Fri, 26 Nov 2021 20:05:29 -0800
Pygame actual combat: this little game of "happy playing hamster" makes hundreds of millions of people "addicted"“
Introduction
Have nothing to do:
The excrement shoveling officer made a hamster toy for the cat owner with waste cardboard boxes. Look, the owner has a lot of fun
I knocked it out - eh, why, why are there two? Isn't it exciting? This is a good chance to improve your relationship with the master!
Ha ha ha! After reading the above ...
Posted by jbruns on Thu, 25 Nov 2021 23:51:13 -0800