private void setTenantMapping(List<ParameterMapping> parameterMappings)
            throws NoSuchFieldException, IllegalAccessException {
        for (ParameterMapping mapping : parameterMappings) {
            if (mapping.getProperty().equals(KEY_TENANT)) {
                Field javaType = mapping.getClass().getDeclaredField("javaType");
                javaType.setAccessible(true);
                javaType.set(mapping, String.class);

                Field typeHandler = mapping.getClass().getDeclaredField("typeHandler");
                typeHandler.setAccessible(true);
                typeHandler.set(mapping, new StringTypeHandler());
            }
        }
    }
This interceptor intercept those queries annotated by {@link MultiTenantQuery}.

<p>The main idea of MultiTenantInterceptor is that developer define sql template
support multiple tenant in mapper.xml, but no need to pass the tenant explicitly in mapper.java.</p>

<p>MultiTenantInterceptor will insert <strong>tenant</strong> into the parameter maps in
{@link Executor} and {@link ParameterHandler} stages.</p>
inlong-manager/manager-dao/src/main/java/org/apache/inlong/manager/dao/interceptor/MultiTenantInterceptor.java