org.apache.flink.cep.nfa.sharedbuffer.SharedBufferEdge Java Examples
The following examples show how to use
org.apache.flink.cep.nfa.sharedbuffer.SharedBufferEdge.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NFASerializerUpgradeTest.java From flink with Apache License 2.0 | 5 votes |
@Override public SharedBufferNode createTestData() { SharedBufferNode result = new SharedBufferNode(); result.addEdge(new SharedBufferEdge( new NodeId(new EventId(42, 42L), "page"), new DeweyNumber(42))); return result; }
Example #2
Source File: NFASerializerUpgradeTest.java From flink with Apache License 2.0 | 5 votes |
@Override public Matcher<SharedBufferNode> testDataMatcher() { SharedBufferNode result = new SharedBufferNode(); result.addEdge(new SharedBufferEdge( new NodeId(new EventId(42, 42L), "page"), new DeweyNumber(42))); return is(result); }
Example #3
Source File: NFASerializerUpgradeTest.java From flink with Apache License 2.0 | 4 votes |
@Override public TypeSerializer<SharedBufferEdge> createPriorSerializer() { return new SharedBufferEdge.SharedBufferEdgeSerializer(); }
Example #4
Source File: NFASerializerUpgradeTest.java From flink with Apache License 2.0 | 4 votes |
@Override public SharedBufferEdge createTestData() { return new SharedBufferEdge( new NodeId(new EventId(42, 42L), "page"), new DeweyNumber(42)); }
Example #5
Source File: NFASerializerUpgradeTest.java From flink with Apache License 2.0 | 4 votes |
@Override public TypeSerializer<SharedBufferEdge> createUpgradedSerializer() { return new SharedBufferEdge.SharedBufferEdgeSerializer(); }
Example #6
Source File: NFASerializerUpgradeTest.java From flink with Apache License 2.0 | 4 votes |
@Override public Matcher<SharedBufferEdge> testDataMatcher() { return is(new SharedBufferEdge( new NodeId(new EventId(42, 42L), "page"), new DeweyNumber(42))); }
Example #7
Source File: NFASerializerUpgradeTest.java From flink with Apache License 2.0 | 4 votes |
@Override public Matcher<TypeSerializerSchemaCompatibility<SharedBufferEdge>> schemaCompatibilityMatcher(MigrationVersion version) { return TypeSerializerMatchers.isCompatibleAsIs(); }