Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
066913e2
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
066913e2
编写于
12月 13, 2015
作者:
S
Stephan Ewen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FLINK-3169] Move Record Type Utils from flink-java to flink-runtime/test
上级
4a26cced
变更
29
显示空白变更内容
内联
并排
Showing
29 changed file
with
38 addition
and
183 deletion
+38
-183
flink-java/src/main/java/org/apache/flink/api/java/typeutils/RecordTypeInfo.java
...a/org/apache/flink/api/java/typeutils/RecordTypeInfo.java
+0
-95
flink-java/src/test/java/org/apache/flink/api/java/typeutils/RecordTypeInfoTest.java
...g/apache/flink/api/java/typeutils/RecordTypeInfoTest.java
+0
-44
flink-runtime/src/test/java/org/apache/flink/runtime/operators/CachedMatchTaskTest.java
...g/apache/flink/runtime/operators/CachedMatchTaskTest.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/CoGroupTaskExternalITCase.java
...he/flink/runtime/operators/CoGroupTaskExternalITCase.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/CoGroupTaskTest.java
...a/org/apache/flink/runtime/operators/CoGroupTaskTest.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/CombineTaskExternalITCase.java
...he/flink/runtime/operators/CombineTaskExternalITCase.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/operators/DataSinkTaskTest.java
.../org/apache/flink/runtime/operators/DataSinkTaskTest.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/operators/JoinTaskExternalITCase.java
...pache/flink/runtime/operators/JoinTaskExternalITCase.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/JoinTaskTest.java
...java/org/apache/flink/runtime/operators/JoinTaskTest.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/LeftOuterJoinTaskTest.java
...apache/flink/runtime/operators/LeftOuterJoinTaskTest.java
+0
-6
flink-runtime/src/test/java/org/apache/flink/runtime/operators/ReduceTaskExternalITCase.java
...che/flink/runtime/operators/ReduceTaskExternalITCase.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/ReduceTaskTest.java
...va/org/apache/flink/runtime/operators/ReduceTaskTest.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/chaining/ChainTaskTest.java
...pache/flink/runtime/operators/chaining/ChainTaskTest.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/hash/HashTableITCase.java
.../apache/flink/runtime/operators/hash/HashTableITCase.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/resettable/BlockResettableMutableObjectIteratorTest.java
.../resettable/BlockResettableMutableObjectIteratorTest.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/operators/resettable/NonReusingBlockResettableIteratorTest.java
...ors/resettable/NonReusingBlockResettableIteratorTest.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/operators/resettable/ReusingBlockResettableIteratorTest.java
...rators/resettable/ReusingBlockResettableIteratorTest.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/operators/resettable/SpillingResettableMutableObjectIteratorTest.java
...settable/SpillingResettableMutableObjectIteratorTest.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/operators/testutils/DriverTestBase.java
...che/flink/runtime/operators/testutils/DriverTestBase.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/operators/testutils/TaskTestBase.java
...pache/flink/runtime/operators/testutils/TaskTestBase.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/operators/util/OutputEmitterTest.java
...pache/flink/runtime/operators/util/OutputEmitterTest.java
+2
-2
flink-runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils/RecordComparator.java
...flink/runtime/testutils/recordutils/RecordComparator.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils/RecordComparatorFactory.java
...untime/testutils/recordutils/RecordComparatorFactory.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils/RecordPairComparator.java
...k/runtime/testutils/recordutils/RecordPairComparator.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils/RecordPairComparatorFactory.java
...me/testutils/recordutils/RecordPairComparatorFactory.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils/RecordSerializer.java
...flink/runtime/testutils/recordutils/RecordSerializer.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils/RecordSerializerFactory.java
...untime/testutils/recordutils/RecordSerializerFactory.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/util/NonReusingKeyGroupedIteratorTest.java
.../flink/runtime/util/NonReusingKeyGroupedIteratorTest.java
+1
-1
flink-runtime/src/test/java/org/apache/flink/runtime/util/ReusingKeyGroupedIteratorTest.java
...che/flink/runtime/util/ReusingKeyGroupedIteratorTest.java
+2
-2
未找到文件。
flink-java/src/main/java/org/apache/flink/api/java/typeutils/RecordTypeInfo.java
已删除
100644 → 0
浏览文件 @
4a26cced
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.flink.api.java.typeutils
;
import
org.apache.flink.api.common.ExecutionConfig
;
import
org.apache.flink.api.common.typeinfo.TypeInformation
;
import
org.apache.flink.api.common.typeutils.TypeSerializer
;
import
org.apache.flink.api.common.typeutils.record.RecordSerializer
;
import
org.apache.flink.types.Record
;
/**
* Type information for the {@link Record} data type.
*/
public
class
RecordTypeInfo
extends
TypeInformation
<
Record
>
{
private
static
final
long
serialVersionUID
=
1L
;
@Override
public
boolean
isBasicType
()
{
return
false
;
}
@Override
public
boolean
isTupleType
()
{
return
false
;
}
@Override
public
int
getArity
()
{
return
1
;
}
@Override
public
int
getTotalFields
()
{
return
1
;
}
@Override
public
Class
<
Record
>
getTypeClass
()
{
return
Record
.
class
;
}
@Override
public
boolean
isKeyType
()
{
return
false
;
}
@Override
public
TypeSerializer
<
Record
>
createSerializer
(
ExecutionConfig
config
)
{
return
RecordSerializer
.
get
();
}
// --------------------------------------------------------------------------------------------
@Override
public
int
hashCode
()
{
return
Record
.
class
.
hashCode
();
}
@Override
public
boolean
canEqual
(
Object
obj
)
{
return
obj
instanceof
RecordTypeInfo
;
}
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
obj
instanceof
RecordTypeInfo
)
{
RecordTypeInfo
recordTypeInfo
=
(
RecordTypeInfo
)
obj
;
return
recordTypeInfo
.
canEqual
(
this
);
}
else
{
return
false
;
}
}
@Override
public
String
toString
()
{
return
"RecordType"
;
}
}
flink-java/src/test/java/org/apache/flink/api/java/typeutils/RecordTypeInfoTest.java
已删除
100644 → 0
浏览文件 @
4a26cced
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.apache.flink.api.java.typeutils
;
import
org.apache.flink.util.TestLogger
;
import
org.junit.Test
;
import
static
org
.
junit
.
Assert
.*;
public
class
RecordTypeInfoTest
extends
TestLogger
{
@Test
public
void
testRecordTypeInfoEquality
()
{
RecordTypeInfo
tpeInfo1
=
new
RecordTypeInfo
();
RecordTypeInfo
tpeInfo2
=
new
RecordTypeInfo
();
assertEquals
(
tpeInfo1
,
tpeInfo2
);
assertEquals
(
tpeInfo1
.
hashCode
(),
tpeInfo2
.
hashCode
());
}
@Test
public
void
testRecordTypeInfoInequality
()
{
RecordTypeInfo
tpeInfo1
=
new
RecordTypeInfo
();
MissingTypeInfo
tpeInfo2
=
new
MissingTypeInfo
(
"foobar"
);
assertNotEquals
(
tpeInfo1
,
tpeInfo2
);
}
}
flink-runtime/src/test/java/org/apache/flink/runtime/operators/CachedMatchTaskTest.java
浏览文件 @
066913e2
...
...
@@ -25,8 +25,8 @@ import java.util.concurrent.atomic.AtomicBoolean;
import
org.apache.flink.api.common.ExecutionConfig
;
import
org.apache.flink.api.common.functions.FlatJoinFunction
;
import
org.apache.flink.api.common.functions.RichFlatJoinFunction
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordPairComparatorFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordPairComparatorFactory
;
import
org.apache.flink.runtime.operators.testutils.DelayingInfinitiveInputIterator
;
import
org.apache.flink.runtime.operators.testutils.DriverTestBase
;
import
org.apache.flink.runtime.operators.testutils.ExpectedTestException
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/CoGroupTaskExternalITCase.java
浏览文件 @
066913e2
...
...
@@ -22,8 +22,8 @@ import org.apache.flink.api.common.ExecutionConfig;
import
org.junit.Assert
;
import
org.apache.flink.api.common.functions.CoGroupFunction
;
import
org.apache.flink.api.common.functions.RichCoGroupFunction
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordPairComparatorFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordPairComparatorFactory
;
import
org.apache.flink.runtime.operators.testutils.DriverTestBase
;
import
org.apache.flink.runtime.operators.testutils.UniformRecordGenerator
;
import
org.apache.flink.types.IntValue
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/CoGroupTaskTest.java
浏览文件 @
066913e2
...
...
@@ -24,8 +24,8 @@ import org.apache.flink.api.common.ExecutionConfig;
import
org.junit.Assert
;
import
org.apache.flink.api.common.functions.CoGroupFunction
;
import
org.apache.flink.api.common.functions.RichCoGroupFunction
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordPairComparatorFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordPairComparatorFactory
;
import
org.apache.flink.runtime.operators.CoGroupTaskExternalITCase.MockCoGroupStub
;
import
org.apache.flink.runtime.operators.testutils.DelayingInfinitiveInputIterator
;
import
org.apache.flink.runtime.operators.testutils.DriverTestBase
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/CombineTaskExternalITCase.java
浏览文件 @
066913e2
...
...
@@ -27,7 +27,7 @@ import org.apache.flink.util.Collector;
import
org.junit.Assert
;
import
org.apache.flink.api.common.functions.RichGroupReduceFunction
;
import
org.apache.flink.api.common.functions.RichGroupReduceFunction.Combinable
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.runtime.operators.testutils.DriverTestBase
;
import
org.apache.flink.runtime.operators.testutils.UniformRecordGenerator
;
import
org.apache.flink.types.IntValue
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/DataSinkTaskTest.java
浏览文件 @
066913e2
...
...
@@ -19,7 +19,7 @@
package
org.apache.flink.runtime.operators
;
import
org.apache.flink.api.common.io.FileOutputFormat
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparatorFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparatorFactory
;
import
org.apache.flink.configuration.Configuration
;
import
org.apache.flink.runtime.io.network.partition.consumer.IteratorWrappingTestSingleInputGate
;
import
org.apache.flink.runtime.io.network.api.writer.ResultPartitionWriter
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/JoinTaskExternalITCase.java
浏览文件 @
066913e2
...
...
@@ -22,8 +22,8 @@ package org.apache.flink.runtime.operators;
import
org.apache.flink.api.common.ExecutionConfig
;
import
org.junit.Assert
;
import
org.apache.flink.api.common.functions.FlatJoinFunction
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordPairComparatorFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordPairComparatorFactory
;
import
org.apache.flink.runtime.operators.testutils.DriverTestBase
;
import
org.apache.flink.runtime.operators.testutils.UniformRecordGenerator
;
import
org.apache.flink.types.IntValue
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/JoinTaskTest.java
浏览文件 @
066913e2
...
...
@@ -25,8 +25,8 @@ import java.util.concurrent.atomic.AtomicReference;
import
org.apache.flink.api.common.ExecutionConfig
;
import
org.apache.flink.api.common.functions.FlatJoinFunction
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordPairComparatorFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordPairComparatorFactory
;
import
org.apache.flink.runtime.operators.testutils.DelayingInfinitiveInputIterator
;
import
org.apache.flink.runtime.operators.testutils.DriverTestBase
;
import
org.apache.flink.runtime.operators.testutils.ExpectedTestException
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/LeftOuterJoinTaskTest.java
浏览文件 @
066913e2
...
...
@@ -21,22 +21,16 @@ package org.apache.flink.runtime.operators;
import
com.google.common.base.Throwables
;
import
org.apache.flink.api.common.ExecutionConfig
;
import
org.apache.flink.api.common.typeutils.record.RecordPairComparatorFactory
;
import
org.apache.flink.api.java.tuple.Tuple2
;
import
org.apache.flink.api.java.typeutils.runtime.RuntimePairComparatorFactory
;
import
org.apache.flink.runtime.operators.testutils.DelayingInfinitiveInputIterator
;
import
org.apache.flink.runtime.operators.testutils.DelayingIterator
;
import
org.apache.flink.runtime.operators.testutils.DiscardingOutputCollector
;
import
org.apache.flink.runtime.operators.testutils.ExpectedTestException
;
import
org.apache.flink.runtime.operators.testutils.InfiniteIntTupleIterator
;
import
org.apache.flink.runtime.operators.testutils.NirvanaOutputList
;
import
org.apache.flink.runtime.operators.testutils.UniformIntTupleGenerator
;
import
org.apache.flink.runtime.operators.testutils.UniformRecordGenerator
;
import
org.apache.flink.types.Record
;
import
org.junit.Assert
;
import
org.junit.Test
;
import
java.util.concurrent.atomic.AtomicBoolean
;
import
java.util.concurrent.atomic.AtomicReference
;
import
static
org
.
junit
.
Assert
.
assertFalse
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/ReduceTaskExternalITCase.java
浏览文件 @
066913e2
...
...
@@ -27,8 +27,8 @@ import org.slf4j.Logger;
import
org.slf4j.LoggerFactory
;
import
org.apache.flink.api.common.functions.RichGroupReduceFunction
;
import
org.apache.flink.api.common.functions.RichGroupReduceFunction.Combinable
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializerFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializerFactory
;
import
org.apache.flink.runtime.operators.sort.CombiningUnilateralSortMerger
;
import
org.apache.flink.runtime.operators.testutils.DriverTestBase
;
import
org.apache.flink.runtime.operators.testutils.UniformRecordGenerator
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/ReduceTaskTest.java
浏览文件 @
066913e2
...
...
@@ -28,8 +28,8 @@ import org.slf4j.Logger;
import
org.slf4j.LoggerFactory
;
import
org.apache.flink.api.common.functions.RichGroupReduceFunction
;
import
org.apache.flink.api.common.functions.RichGroupReduceFunction.Combinable
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializerFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializerFactory
;
import
org.apache.flink.runtime.operators.sort.CombiningUnilateralSortMerger
;
import
org.apache.flink.runtime.operators.testutils.DelayingInfinitiveInputIterator
;
import
org.apache.flink.runtime.operators.testutils.DriverTestBase
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/chaining/ChainTaskTest.java
浏览文件 @
066913e2
...
...
@@ -23,8 +23,8 @@ import java.util.List;
import
org.apache.flink.api.common.functions.FlatMapFunction
;
import
org.apache.flink.api.common.operators.util.UserCodeClassWrapper
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparatorFactory
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializerFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparatorFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializerFactory
;
import
org.apache.flink.api.common.functions.RichGroupReduceFunction
;
import
org.apache.flink.configuration.Configuration
;
import
org.apache.flink.runtime.io.network.api.writer.ResultPartitionWriter
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/hash/HashTableITCase.java
浏览文件 @
066913e2
...
...
@@ -30,8 +30,8 @@ import java.util.Map;
import
org.apache.flink.api.common.typeutils.TypeComparator
;
import
org.apache.flink.api.common.typeutils.TypePairComparator
;
import
org.apache.flink.api.common.typeutils.TypeSerializer
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializer
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializer
;
import
org.apache.flink.core.memory.MemorySegment
;
import
org.apache.flink.runtime.io.disk.iomanager.IOManager
;
import
org.apache.flink.runtime.io.disk.iomanager.IOManagerAsync
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/resettable/BlockResettableMutableObjectIteratorTest.java
浏览文件 @
066913e2
...
...
@@ -23,7 +23,7 @@ import java.util.List;
import
org.junit.Assert
;
import
org.apache.flink.api.common.typeutils.TypeSerializer
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializer
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializer
;
import
org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable
;
import
org.apache.flink.runtime.memory.MemoryManager
;
import
org.apache.flink.runtime.operators.testutils.DummyInvokable
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/resettable/NonReusingBlockResettableIteratorTest.java
浏览文件 @
066913e2
...
...
@@ -24,7 +24,7 @@ import java.util.List;
import
org.junit.Assert
;
import
org.apache.flink.api.common.typeutils.TypeSerializer
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializer
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializer
;
import
org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable
;
import
org.apache.flink.runtime.memory.MemoryManager
;
import
org.apache.flink.runtime.operators.testutils.DummyInvokable
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/resettable/ReusingBlockResettableIteratorTest.java
浏览文件 @
066913e2
...
...
@@ -19,7 +19,7 @@
package
org.apache.flink.runtime.operators.resettable
;
import
org.apache.flink.api.common.typeutils.TypeSerializer
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializer
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializer
;
import
org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable
;
import
org.apache.flink.runtime.memory.MemoryManager
;
import
org.apache.flink.runtime.operators.testutils.DummyInvokable
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/resettable/SpillingResettableMutableObjectIteratorTest.java
浏览文件 @
066913e2
...
...
@@ -19,7 +19,7 @@
package
org.apache.flink.runtime.operators.resettable
;
import
org.apache.flink.api.common.typeutils.TypeSerializer
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializer
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializer
;
import
org.apache.flink.runtime.io.disk.iomanager.IOManager
;
import
org.apache.flink.runtime.io.disk.iomanager.IOManagerAsync
;
import
org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/testutils/DriverTestBase.java
浏览文件 @
066913e2
...
...
@@ -32,8 +32,8 @@ import org.apache.flink.api.common.functions.Function;
import
org.apache.flink.api.common.functions.util.FunctionUtils
;
import
org.apache.flink.api.common.typeutils.TypeComparator
;
import
org.apache.flink.api.common.typeutils.TypeSerializerFactory
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializerFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializerFactory
;
import
org.apache.flink.configuration.Configuration
;
import
org.apache.flink.runtime.io.disk.iomanager.IOManager
;
import
org.apache.flink.runtime.io.disk.iomanager.IOManagerAsync
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/testutils/TaskTestBase.java
浏览文件 @
066913e2
...
...
@@ -23,7 +23,7 @@ import org.apache.flink.api.common.io.DelimitedInputFormat;
import
org.apache.flink.api.common.io.FileOutputFormat
;
import
org.apache.flink.api.common.operators.util.UserCodeClassWrapper
;
import
org.apache.flink.api.common.operators.util.UserCodeObjectWrapper
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializerFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializerFactory
;
import
org.apache.flink.configuration.Configuration
;
import
org.apache.flink.core.fs.FileSystem.WriteMode
;
import
org.apache.flink.core.fs.Path
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/operators/util/OutputEmitterTest.java
浏览文件 @
066913e2
...
...
@@ -28,8 +28,8 @@ import org.apache.flink.api.common.typeutils.base.IntComparator;
import
org.junit.Assert
;
import
org.apache.flink.api.common.typeutils.TypeComparator
;
import
org.apache.flink.api.common.typeutils.base.IntSerializer
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparatorFactory
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializerFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparatorFactory
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializerFactory
;
import
org.apache.flink.core.memory.DataInputView
;
import
org.apache.flink.core.memory.DataOutputView
;
import
org.apache.flink.core.memory.InputViewDataInputStreamWrapper
;
...
...
flink-
core/src/main/java/org/apache/flink/api/common/typeutils/record
/RecordComparator.java
→
flink-
runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils
/RecordComparator.java
浏览文件 @
066913e2
...
...
@@ -17,7 +17,7 @@
*/
package
org.apache.flink.
api.common.typeutils.record
;
package
org.apache.flink.
runtime.testutils.recordutils
;
import
java.io.IOException
;
...
...
flink-
core/src/main/java/org/apache/flink/api/common/typeutils/record
/RecordComparatorFactory.java
→
flink-
runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils
/RecordComparatorFactory.java
浏览文件 @
066913e2
...
...
@@ -17,7 +17,7 @@
*/
package
org.apache.flink.
api.common.typeutils.record
;
package
org.apache.flink.
runtime.testutils.recordutils
;
import
java.util.Arrays
;
...
...
flink-
core/src/main/java/org/apache/flink/api/common/typeutils/record
/RecordPairComparator.java
→
flink-
runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils
/RecordPairComparator.java
浏览文件 @
066913e2
...
...
@@ -17,7 +17,7 @@
*/
package
org.apache.flink.
api.common.typeutils.record
;
package
org.apache.flink.
runtime.testutils.recordutils
;
import
org.apache.flink.api.common.typeutils.TypePairComparator
;
import
org.apache.flink.types.Key
;
...
...
flink-
core/src/main/java/org/apache/flink/api/common/typeutils/record
/RecordPairComparatorFactory.java
→
flink-
runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils
/RecordPairComparatorFactory.java
浏览文件 @
066913e2
...
...
@@ -17,7 +17,7 @@
*/
package
org.apache.flink.
api.common.typeutils.record
;
package
org.apache.flink.
runtime.testutils.recordutils
;
import
org.apache.flink.api.common.typeutils.TypeComparator
;
import
org.apache.flink.api.common.typeutils.TypePairComparator
;
...
...
flink-
core/src/main/java/org/apache/flink/api/common/typeutils/record
/RecordSerializer.java
→
flink-
runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils
/RecordSerializer.java
浏览文件 @
066913e2
...
...
@@ -17,7 +17,7 @@
*/
package
org.apache.flink.
api.common.typeutils.record
;
package
org.apache.flink.
runtime.testutils.recordutils
;
import
java.io.IOException
;
...
...
flink-
core/src/main/java/org/apache/flink/api/common/typeutils/record
/RecordSerializerFactory.java
→
flink-
runtime/src/test/java/org/apache/flink/runtime/testutils/recordutils
/RecordSerializerFactory.java
浏览文件 @
066913e2
...
...
@@ -17,7 +17,7 @@
*/
package
org.apache.flink.
api.common.typeutils.record
;
package
org.apache.flink.
runtime.testutils.recordutils
;
import
org.apache.flink.api.common.typeutils.TypeSerializer
;
import
org.apache.flink.api.common.typeutils.TypeSerializerFactory
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/util/NonReusingKeyGroupedIteratorTest.java
浏览文件 @
066913e2
...
...
@@ -23,7 +23,7 @@ import java.util.ArrayList;
import
java.util.Iterator
;
import
java.util.NoSuchElementException
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.types.IntValue
;
import
org.apache.flink.types.Record
;
import
org.apache.flink.types.StringValue
;
...
...
flink-runtime/src/test/java/org/apache/flink/runtime/util/ReusingKeyGroupedIteratorTest.java
浏览文件 @
066913e2
...
...
@@ -23,8 +23,8 @@ import java.util.ArrayList;
import
java.util.Iterator
;
import
java.util.NoSuchElementException
;
import
org.apache.flink.
api.common.typeutils.record
.RecordComparator
;
import
org.apache.flink.
api.common.typeutils.record
.RecordSerializer
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordComparator
;
import
org.apache.flink.
runtime.testutils.recordutils
.RecordSerializer
;
import
org.apache.flink.types.IntValue
;
import
org.apache.flink.types.Record
;
import
org.apache.flink.types.StringValue
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录