├── doc
├── interference.png
└── InterferenceManual.pdf
├── src
└── main
│ └── java
│ └── su
│ └── interference
│ ├── metrics
│ ├── MeterMBean.java
│ ├── CallMBean.java
│ ├── Call.java
│ ├── TimerMBean.java
│ ├── HistogramMBean.java
│ ├── Counter.java
│ ├── Meter.java
│ ├── Timer.java
│ └── Histogram.java
│ ├── core
│ ├── EventProcessor.java
│ ├── SessionFactory.java
│ ├── ManagedRunnable.java
│ ├── ManagedProcess.java
│ ├── AllowRPredicate.java
│ ├── StreamCallable.java
│ ├── ManagedCallable.java
│ ├── NoCheck.java
│ ├── Notran.java
│ ├── MapColumn.java
│ ├── IndexColumn.java
│ ├── ResultSetEntity.java
│ ├── NoDistribute.java
│ ├── IndexChunk.java
│ ├── Threshold.java
│ ├── DisableSync.java
│ ├── IndexEntity.java
│ ├── SystemEntity.java
│ ├── TransEntity.java
│ ├── IndexOrganized.java
│ ├── DistributedId.java
│ ├── Interference.java
│ ├── FrameOrderComparator.java
│ ├── FrameAllocComparator.java
│ ├── GenericObject.java
│ ├── ChunkIdComparator.java
│ ├── EntityContainer.java
│ ├── FileType.java
│ ├── MapField.java
│ ├── Header.java
│ ├── IndexField.java
│ ├── Chunk.java
│ ├── IndexElement.java
│ ├── DataSet.java
│ ├── TransFrameId.java
│ ├── ValueSet.java
│ └── SyncTask.java
│ ├── exception
│ ├── CannotAccessToForeignRecord.java
│ ├── InvalidFrame.java
│ ├── AccessDenied.java
│ ├── InvalidParameter.java
│ ├── InvalidFrameHeader.java
│ ├── EmptyFrameHeaderFound.java
│ ├── NotEnoughFrameSpace.java
│ ├── IncorrectUndoChunkFound.java
│ ├── MissingSyncFrameException.java
│ ├── CannotAccessToDeletedRecord.java
│ ├── CannotAccessToLockedRecord.java
│ └── InternalException.java
│ ├── persistent
│ ├── OnDelete.java
│ ├── FilePartitioned.java
│ ├── Source.java
│ ├── EventSubscriber.java
│ └── RQFrame.java
│ ├── transport
│ ├── PersistentEvent.java
│ ├── RemoteResultSet.java
│ ├── RemoteRequest.java
│ ├── TransportEvent.java
│ └── TransportCallback.java
│ ├── sqlexception
│ ├── InvalidWindowByPart.java
│ ├── MissingWithinClause.java
│ ├── UnableToLockTableForProcess.java
│ ├── AmbiguousColumnName.java
│ ├── InvalidCondition.java
│ ├── ConstraintViolation.java
│ ├── InvalidGroupByPart.java
│ ├── InvalidOrderByPart.java
│ ├── InvalidSQLStatement.java
│ ├── MissingFromClause.java
│ ├── MissingRightParenthesis.java
│ ├── UnexpectedEndOfStatement.java
│ ├── InvalidGroupColumnSet.java
│ ├── NotNullViolation.java
│ ├── TooManyNestedConditions.java
│ ├── InvalidColumnDescription.java
│ ├── InvalidTableDescription.java
│ ├── MissingTablesDescription.java
│ ├── UniqueConstraintViolation.java
│ ├── MissingTableInSerializableMode.java
│ ├── InvalidConditionValue.java
│ ├── SQLException.java
│ ├── PrimaryKeyViolation.java
│ └── ForeignKeyViolation.java
│ ├── mgmt
│ ├── MgmtClass.java
│ ├── MgmtClassIdColumn.java
│ ├── MgmtColumn.java
│ ├── MgmtAction.java
│ └── MgmtConfig.java
│ ├── sql
│ ├── ResultSetTerm.java
│ ├── Finder.java
│ ├── IntCondition.java
│ ├── SQLStmt.java
│ ├── SQLStatement.java
│ ├── ColumnGroupComparator.java
│ ├── ColumnOrderComparator.java
│ ├── FieldContainer.java
│ ├── ResultSet.java
│ ├── SQLJoinThreadPool.java
│ ├── FrameApi.java
│ ├── FrameIterator.java
│ ├── JoinCondition.java
│ ├── SQLNode.java
│ └── SQLGroup.java
│ ├── api
│ ├── GenericResult.java
│ ├── TransportApi.java
│ └── SerializerApi.java
│ ├── standalone
│ └── Start.java
│ ├── proxy
│ └── ClassContainer.java
│ └── rest
│ ├── HTTPResponse.java
│ └── HTTPServer.java
├── .github
├── ISSUE_TEMPLATE
│ ├── custom.md
│ ├── feature_request.md
│ └── bug_report.md
└── workflows
│ ├── maven.yml
│ └── maven-publish.yml
├── LICENSE
├── config
└── app-log-config.xml
└── pom.xml
/doc/interference.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/interference-project/interference/HEAD/doc/interference.png
--------------------------------------------------------------------------------
/doc/InterferenceManual.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/interference-project/interference/HEAD/doc/InterferenceManual.pdf
--------------------------------------------------------------------------------
/src/main/java/su/interference/metrics/MeterMBean.java:
--------------------------------------------------------------------------------
1 | package su.interference.metrics;
2 |
3 | public interface MeterMBean {
4 | long getCnt();
5 | }
6 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/metrics/CallMBean.java:
--------------------------------------------------------------------------------
1 | package su.interference.metrics;
2 |
3 | public interface CallMBean {
4 | void forceCleanUp();
5 | void reportFrames();
6 | }
7 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/core/EventProcessor.java:
--------------------------------------------------------------------------------
1 | package su.interference.core;
2 |
3 | public interface EventProcessor {
4 | boolean process(Object event);
5 | boolean delete();
6 | }
7 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/CannotAccessToForeignRecord.java:
--------------------------------------------------------------------------------
1 | package su.interference.exception;
2 |
3 | public class CannotAccessToForeignRecord extends RuntimeException {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/custom.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Custom issue template
3 | about: Describe this issue template's purpose here.
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 |
11 |
--------------------------------------------------------------------------------
/.github/workflows/maven.yml:
--------------------------------------------------------------------------------
1 | name: Java CI
2 |
3 | on: [push]
4 |
5 | jobs:
6 | build:
7 |
8 | runs-on: ubuntu-latest
9 |
10 | steps:
11 | - uses: actions/checkout@v1
12 | - name: Set up JDK 1.8
13 | uses: actions/setup-java@v1
14 | with:
15 | java-version: 1.8
16 | - name: Build with Maven
17 | run: mvn -B package --file pom.xml
18 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Desktop (please complete the following information):**
27 | - OS: [e.g. iOS]
28 | - Browser [e.g. chrome, safari]
29 | - Version [e.g. 22]
30 |
31 | **Smartphone (please complete the following information):**
32 | - Device: [e.g. iPhone6]
33 | - OS: [e.g. iOS8.1]
34 | - Browser [e.g. stock browser, safari]
35 | - Version [e.g. 22]
36 |
37 | **Additional context**
38 | Add any other context about the problem here.
39 |
--------------------------------------------------------------------------------
/.github/workflows/maven-publish.yml:
--------------------------------------------------------------------------------
1 | # This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
2 | # For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
3 |
4 | name: Maven Package
5 |
6 | on:
7 | release:
8 | types: [created]
9 |
10 | jobs:
11 | build:
12 |
13 | runs-on: ubuntu-latest
14 |
15 | steps:
16 | - uses: actions/checkout@v2
17 | - name: Set up JDK 1.8
18 | uses: actions/setup-java@v1
19 | with:
20 | java-version: 1.8
21 | server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
22 | settings-path: ${{ github.workspace }} # location for the settings.xml file
23 |
24 | - name: Build with Maven
25 | run: mvn -B package --file pom.xml
26 |
27 | - name: Publish to GitHub Packages Apache Maven
28 | run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
29 | env:
30 | GITHUB_TOKEN: ${{ github.token }}
31 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/metrics/Call.java:
--------------------------------------------------------------------------------
1 | package su.interference.metrics;
2 |
3 | import org.slf4j.Logger;
4 | import org.slf4j.LoggerFactory;
5 | import su.interference.core.DataChunk;
6 | import su.interference.core.Instance;
7 | import su.interference.core.SystemCleanUp;
8 | import su.interference.persistent.FrameData;
9 |
10 | import java.util.Map;
11 |
12 | public class Call extends Meter implements CallMBean {
13 |
14 | private final static Logger logger = LoggerFactory.getLogger(Call.class);
15 | public Call(String name) {
16 | super(name);
17 | }
18 |
19 | public void forceCleanUp() {
20 | SystemCleanUp.forceCleanUp();
21 | }
22 |
23 | public void reportFrames() {
24 | for (Object entry : Instance.getInstance().getFramesMap().entrySet()) {
25 | final FrameData f = (FrameData) ((DataChunk) ((Map.Entry) entry).getValue()).getEntity();
26 | logger.info("frame table:id:used "+f.getObjectId()+":"+f.getFrameId()+":"+f.getUsed());
27 | }
28 | }
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 interference-project
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/config/app-log-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %date %level [%thread] %logger{10} [%file:%line] %msg%n
8 |
9 |
10 |
11 |
12 | logs/app.log
13 |
14 |
15 | logs/app-%d{yyyy-MM-dd}.%i.zip
16 | 50MB
17 | 3
18 | true
19 |
20 |
21 |
22 | %date %level [%thread] %logger{10} [%file:%line] %msg%n
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/core/SessionFactory.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.core;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class SessionFactory {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/core/ManagedRunnable.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2021 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.core;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public interface ManagedRunnable extends Runnable {
33 | void stop();
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/persistent/OnDelete.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2021 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.persistent;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public interface OnDelete {
33 | void onDelete() throws Exception;
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/transport/PersistentEvent.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.transport;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public interface PersistentEvent {
33 | }
34 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/core/ManagedProcess.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.core;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public interface ManagedProcess {
33 | void stop() throws InterruptedException;
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/InvalidWindowByPart.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidWindowByPart extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/MissingWithinClause.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class MissingWithinClause extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/core/AllowRPredicate.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.core;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | interface AllowRPredicate {
33 | boolean isAllowR();
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/core/StreamCallable.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.core;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public interface StreamCallable {
33 | Object call(Object o);
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/InvalidFrame.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidFrame extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/UnableToLockTableForProcess.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2021 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class UnableToLockTableForProcess extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/AccessDenied.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class AccessDenied extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/InvalidParameter.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidParameter extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/AmbiguousColumnName.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class AmbiguousColumnName extends SQLException {
33 | }
34 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/InvalidFrameHeader.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidFrameHeader extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/InvalidCondition.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidCondition extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/EmptyFrameHeaderFound.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class EmptyFrameHeaderFound extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/NotEnoughFrameSpace.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class NotEnoughFrameSpace extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/persistent/FilePartitioned.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.persistent;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public interface FilePartitioned {
33 |
34 | int getFile();
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/ConstraintViolation.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class ConstraintViolation extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/InvalidGroupByPart.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidGroupByPart extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/InvalidOrderByPart.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidOrderByPart extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/InvalidSQLStatement.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidSQLStatement extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/MissingFromClause.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class MissingFromClause extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/MissingRightParenthesis.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class MissingRightParenthesis extends SQLException {
33 | }
34 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/UnexpectedEndOfStatement.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class UnexpectedEndOfStatement extends SQLException {
33 | }
34 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/IncorrectUndoChunkFound.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class IncorrectUndoChunkFound extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/InvalidGroupColumnSet.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidGroupColumnSet extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/NotNullViolation.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class NotNullViolation extends ConstraintViolation {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/TooManyNestedConditions.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class TooManyNestedConditions extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/core/ManagedCallable.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.core;
26 |
27 | import java.util.concurrent.Callable;
28 |
29 | /**
30 | * @author Yuriy Glotanov
31 | * @since 1.0
32 | */
33 |
34 | public interface ManagedCallable extends Callable {
35 | void stop();
36 | }
37 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/MissingSyncFrameException.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class MissingSyncFrameException extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/InvalidColumnDescription.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidColumnDescription extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/InvalidTableDescription.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class InvalidTableDescription extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/MissingTablesDescription.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class MissingTablesDescription extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/CannotAccessToDeletedRecord.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class CannotAccessToDeletedRecord extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/exception/CannotAccessToLockedRecord.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.exception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class CannotAccessToLockedRecord extends RuntimeException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/UniqueConstraintViolation.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class UniqueConstraintViolation extends ConstraintViolation {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sqlexception/MissingTableInSerializableMode.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sqlexception;
26 |
27 | /**
28 | * @author Yuriy Glotanov
29 | * @since 1.0
30 | */
31 |
32 | public class MissingTableInSerializableMode extends SQLException {
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/mgmt/MgmtClass.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2025 interference
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.mgmt;
26 |
27 | import java.lang.annotation.Retention;
28 | import java.lang.annotation.RetentionPolicy;
29 |
30 | /**
31 | * @author Yuriy Glotanov
32 | * @since 1.0
33 | */
34 |
35 | @Retention(RetentionPolicy.RUNTIME)
36 | public @interface MgmtClass {
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sql/ResultSetTerm.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2021 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sql;
26 |
27 | import java.io.Serializable;
28 |
29 | /**
30 | * @author Yuriy Glotanov
31 | * @since 1.0
32 | */
33 |
34 | public class ResultSetTerm implements Serializable {
35 | private final static long serialVersionUID = 7302274901293874556L;
36 | }
37 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/core/NoCheck.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.core;
26 |
27 | import java.lang.annotation.Retention;
28 | import java.lang.annotation.RetentionPolicy;
29 |
30 | /**
31 | * @author Yuriy Glotanov
32 | * @since 1.0
33 | */
34 |
35 | @Retention(RetentionPolicy.RUNTIME)
36 | public @interface NoCheck {
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/core/Notran.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.core;
26 |
27 | import java.lang.annotation.Retention;
28 | import java.lang.annotation.RetentionPolicy;
29 |
30 | /**
31 | * @author Yuriy Glotanov
32 | * @since 1.0
33 | */
34 |
35 | @Retention(RetentionPolicy.RUNTIME)
36 | public @interface Notran {
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/src/main/java/su/interference/sql/Finder.java:
--------------------------------------------------------------------------------
1 | /**
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2010-2019 head systems, ltd
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of
7 | this software and associated documentation files (the "Software"), to deal in
8 | the Software without restriction, including without limitation the rights to
9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10 | the Software, and to permit persons to whom the Software is furnished to do so,
11 | subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | */
24 |
25 | package su.interference.sql;
26 |
27 | import su.interference.persistent.Session;
28 | import java.util.List;
29 |
30 | /**
31 | * @author Yuriy Glotanov
32 | * @since 1.0
33 | */
34 |
35 | public interface Finder {
36 | List