Java Code Examples for org.apache.flink.types.NormalizableKey#getMaxNormalizedKeyLen()
The following examples show how to use
org.apache.flink.types.NormalizableKey#getMaxNormalizedKeyLen() .
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: ValueComparator.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@Override public int getNormalizeKeyLen() { if (reference == null) { reference = InstantiationUtil.instantiate(type, Value.class); } NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 2
Source File: GenericTypeComparator.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@Override public int getNormalizeKeyLen() { if (this.reference == null) { this.reference = InstantiationUtil.instantiate(this.type); } NormalizableKey<?> key = (NormalizableKey<?>) this.reference; return key.getMaxNormalizedKeyLen(); }
Example 3
Source File: WritableComparator.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@Override public int getNormalizeKeyLen() { ensureReferenceInstantiated(); NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 4
Source File: WritableComparator.java From flink with Apache License 2.0 | 5 votes |
@Override public int getNormalizeKeyLen() { ensureReferenceInstantiated(); NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 5
Source File: ValueComparator.java From flink with Apache License 2.0 | 5 votes |
@Override public int getNormalizeKeyLen() { if (reference == null) { reference = InstantiationUtil.instantiate(type, Value.class); } NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 6
Source File: GenericTypeComparator.java From flink with Apache License 2.0 | 5 votes |
@Override public int getNormalizeKeyLen() { if (this.reference == null) { this.reference = InstantiationUtil.instantiate(this.type); } NormalizableKey<?> key = (NormalizableKey<?>) this.reference; return key.getMaxNormalizedKeyLen(); }
Example 7
Source File: GenericTypeComparator.java From flink with Apache License 2.0 | 5 votes |
@Override public int getNormalizeKeyLen() { if (this.reference == null) { this.reference = InstantiationUtil.instantiate(this.type); } NormalizableKey<?> key = (NormalizableKey<?>) this.reference; return key.getMaxNormalizedKeyLen(); }
Example 8
Source File: ValueComparator.java From flink with Apache License 2.0 | 5 votes |
@Override public int getNormalizeKeyLen() { if (reference == null) { reference = InstantiationUtil.instantiate(type, Value.class); } NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 9
Source File: WritableComparator.java From flink with Apache License 2.0 | 5 votes |
@Override public int getNormalizeKeyLen() { ensureReferenceInstantiated(); NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 10
Source File: DoubleValueComparator.java From flink with Apache License 2.0 | 4 votes |
@Override public int getNormalizeKeyLen() { NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 11
Source File: FloatValueComparator.java From flink with Apache License 2.0 | 4 votes |
@Override public int getNormalizeKeyLen() { NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 12
Source File: CopyableValueComparator.java From flink with Apache License 2.0 | 4 votes |
@Override public int getNormalizeKeyLen() { NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 13
Source File: DoubleValueComparator.java From flink with Apache License 2.0 | 4 votes |
@Override public int getNormalizeKeyLen() { NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 14
Source File: FloatValueComparator.java From flink with Apache License 2.0 | 4 votes |
@Override public int getNormalizeKeyLen() { NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 15
Source File: CopyableValueComparator.java From flink with Apache License 2.0 | 4 votes |
@Override public int getNormalizeKeyLen() { NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 16
Source File: DoubleValueComparator.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
@Override public int getNormalizeKeyLen() { NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 17
Source File: FloatValueComparator.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
@Override public int getNormalizeKeyLen() { NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }
Example 18
Source File: CopyableValueComparator.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
@Override public int getNormalizeKeyLen() { NormalizableKey<?> key = (NormalizableKey<?>) reference; return key.getMaxNormalizedKeyLen(); }