Using Blink SQL+UDAF to realize difference aggregation calculation

According to the real business requirements of a power grid company, this case realizes the difference aggregation calculation on the real-time flow through Blink SQL+UDAF. Through this case, the readers are familiar with UDAF writing and understand the method invocation relationship and order in UDAF. Thank you @ commander for your guidance in ...

Added by stalione on Fri, 08 May 2020 12:15:27 +0300

[Spring Security + OAuth2 + JWT entry to actual combat] 11. SMS verification code login

brief introduction Using SMS authentication code to log in, security does not support SMS authentication code login process by default, so we imitate password login to do a new authentication process. Login process SmsCodeAuthenticationFilter SMS login request SmsCodeAuthenticationProvider provides an implementation class for SMS login ...

Added by afhouston on Thu, 05 Mar 2020 07:26:56 +0200

IDEA sums up the code of sharpening the knife

If you want to be good at your work, you must first make use of your tools. At present, countless Java programmers have replaced Eclipse in the stone age with InteliJ IDEA, a modern intelligent development tool. It's a great time to write code (joke, each has its own advantages, depending on personal habits) But every time I see other people us ...

Added by glansing on Tue, 21 Jan 2020 06:20:21 +0200

IDEA activation code (valid for pro test) is permanently activated and continuously updated~

Recently, my idea has expired, and my activation code can't be activated. I don't know what's going on. I can't activate my activation code by looking for it on the Internet. Record the permanent activation process of my idea: download Download on Intellij IDEA website Download address: https://www.jetbrains.com/idea/ Permanent activation Step ...

Added by HeinekenBeer on Thu, 16 Jan 2020 06:10:11 +0200

Design mode appearance mode

Appearance mode principle A home theater project: Introduce a second remote control in the home theater to call various functions and put them on one interface The appearance mode provides a unified interface, visiting a group of function related interfaces in the subsystem. The appearance mode defines a high-level interfac ...

Added by Syntac on Sat, 16 Nov 2019 20:01:15 +0200

WIN10 Common Software for People

Common Software and Configuration for WIN10 Persons development tool IDE Intellij IDEA WebStorm Android Studio Navicat Postman Node Development tools Git MariaDB Java environment JDK Configuring System Environment Variables Maven Configuring System Environment Variables Tomcat Configuring System ...

Added by YoussefSiblini on Mon, 07 Oct 2019 19:00:28 +0300

Summary of Java lookup algorithms

Preface Language: Java Environment: IntelliJ IDEA JDK Version: 1.8 Source code: GitHub Overview of Search Algorithms and Efficiency Analysis Algorithm name Time complexity Spatial complexity Sequential search O(n) O(1) Binary search O(log2n) O(1) Interpolation search O(log2(log2n)) O(1) fibonacci search O(log2n) O(n) In order t ...

Added by hexguy on Thu, 19 Sep 2019 12:48:58 +0300

Spring MVC View Resolver

When we use Spring MVC, we must know that for security reasons, our JSP files will be placed under WEB-INF. But we don't have direct access to resources in / WEB-INF / directory outside, do we? Access can only be carried out through internal server in the form of forwarding, so the bottom of the Internal ResourceViewResolver can help us solve ...

Added by harman on Fri, 13 Sep 2019 14:45:00 +0300

Java Decorator Mode

The decorator and the decorated have a common superclass. The purpose of inheritance is to inherit the type, not the behavior. Decoration mode is to dynamically extend the function of an object without changing the original file and using inheritance. It wraps real objects by creating a wrapping object, that is, decoration. In fact, Java' ...

Added by lynxus on Sat, 01 Jun 2019 00:05:50 +0300