Class | Description |
---|---|
ArchiveResource |
ArchiveResource表示ODPS中一个Archive类型资源。ODPS通过资源名称中的后缀识别压缩类型,支持的压缩文件类型包括:.zip/.tgz/.tar.gz/.tar/.jar
|
Classification | |
Classification.AttributeDefinition | |
Classification.AttributeDefinition.Builder<T extends Classification.AttributeDefinition.Builder<T>> | |
Classification.BooleanAttributeDefinition | |
Classification.BooleanAttributeDefinition.Builder | |
Classification.EnumAttributeDefinition | |
Classification.EnumAttributeDefinition.Builder | |
Classification.IntegerAttributeDefinition | |
Classification.IntegerAttributeDefinition.Builder | |
Classification.StringAttributeDefinition | |
Classification.StringAttributeDefinition.Builder | |
Classifications | |
CreateProjectParam |
创建项目使用的参数构造类
|
FileResource |
FileResource表示ODPS中一个文件类型资源
|
Function |
Function表示ODPS中的函数
|
Functions |
表示ODPS内所有
Function 的集合 |
Instance |
Instance表示ODPS中计算任务的一个运行实例
|
Instance.InstanceQueueingInfo | |
Instance.InstanceResultModel |
表示Instance运行结果的API响应内容
|
Instance.InstanceResultModel.TaskResult | |
Instance.Result | |
Instance.StageProgress |
StageProgress表示
Task 执行过程中各阶段的进度统计 |
Instance.TaskCost | |
Instance.TaskStatus |
Task执行状态
|
Instance.TaskSummary |
TaskSummary包含
Task 运行结束后的汇总信息 |
InstanceFilter |
InstanceFilter用于查询所有
Instance 时根据条件过滤 |
Instances |
Instances表示ODPS中所有
Instance 的集合 |
JarResource |
JarResource表示ODPS中一个JAR类型的资源
|
Job |
ODPS Job定义。ODPS内部使用。
|
LazyLoad |
LazyLoad表示此类型的属性值可能是延迟加载的
|
ListIterator<E> |
支持通过
ListIterator.list() 自定义的Iterator |
LogView | |
Odps |
Odps类是ODPS SDK的入口
|
OdpsHook |
OdpsHook 对象,用于在提交作业前后插入代码
|
OdpsHooks |
OdpsHooks 类
注册 OdpsHook 类 用于在启动 Instance 前后分别运行插件代码
一个 OdpsHooks 实例针对一个 Instance, 包含了一组实例化的 OdpsHook 对象
|
Partition |
Partition类的对象表示ODPS分区表中一个特定的分区
|
Project |
ODPS项目空间
|
Project.Cluster | |
Project.Cluster.OptionalQuota | |
Project.ExternalProjectProperties | |
ProjectFilter |
ProjectFilter用于查询所有项目时根据条件过滤表
|
Projects |
Projects表示ODPS中所有
Project 的集合 |
PyResource |
PyResource表示ODPS中一个python类型资源
|
Quota | |
Quota.AffinityRule | |
Quota.AffinityRuleItem | |
Quota.BillingPolicy | |
Quota.QuotaModel | |
Quotas | |
Resource |
Resource表示ODPS中的资源
|
ResourceInputStream |
A wrapper class.
|
Resources |
Resources 表示ODPS内所有
Resource 的集合,可以通过此对象可以创建、删除和浏览
各种Resource类型。
比如: |
Schema | |
SchemaFilter |
SchemaFilter is used as a filter condition when querying all schemas
name is the prefix of the schema name
|
Schemas | |
Session | |
Sessions |
Created by dongxiao on 2019/8/26.
|
Shard |
Created by yinyue on 15-3-17.
|
StorageTierInfo | |
Stream |
Stream 对象是ODPS中用于管理增量数据的对象,用户可以通过Stream对象对增量数据进行管理,
|
Streams |
Stream 对象是ODPS中用于管理增量数据的对象,用户可以通过Stream对象对增量数据进行管理
Streams 对Stream对象进行管理
|
Table |
Table表示ODPS中的表
|
Table.ClusterInfo |
ClusterInfo is used to express the Shuffle and Sort properties of the table when creating a clustered table.
|
Table.ColumnMaskInfo | |
Table.SortColumn |
Used in ClusterInfo to specify the sorting method of fields in the Bucket.
|
Table.TableTypeConverter |
Convert
Table.TableType to/from String |
TableFilter |
TableFilter用于查询所有表时根据条件过滤表
|
TableLifecycleConfig | |
TableResource |
TableResource表示ODPS中一个表资源
|
Tables |
Tables表示ODPS中所有
Table 的集合 |
Tables.DataHubInfo |
DataHub Service (DHS) is a built-in service of ODPS, which need to create special tables to write data.
|
Tables.TableCreator | |
Tag | |
Tag.TagModel | |
Tags | |
Tags.TagBuilder | |
Task |
ODPS的Task定义
|
Task.Properties |
Task properties
|
Task.Property |
Task property
|
Tenant | |
TenantSecurityManager | |
TunnelEndpointLocalCache | |
Volume |
Volume表示ODPS中的volume 暂未开放,仅限内部使用
|
VolumeArchiveResource |
Created by nizheming on 15/8/12.
|
VolumeFile |
VolumeFile表示ODPS中的volume file
暂未开放,仅限内部使用
|
VolumeFileResource |
Created by nizheming on 15/8/3.
|
VolumeFilter |
VolumeFilter用于查询所有Volume或partition时根据条件过滤Volume或partition
暂未开放,仅限内部使用
|
VolumeFSFile |
Volume File System File
|
VolumePartition |
VolumePartition表示ODPS中的volume partition
暂未开放,仅限内部使用
|
VolumeResource |
Created by nizheming on 15/8/3.
|
Volumes |
Volumes表示ODPS中所有Volume的集合
暂未开放,仅限内部使用
|
Volumes.VolumeBuilder | |
XFlow | |
XFlow.XFlowModel | |
XFlows | |
XFlows.XFlowInstance | |
XFlows.XFlowInstance.Parameter |
Parameter
|
XFlows.XFlowInstance.Property |
Property
|
XFlows.XResult |
Exception | Description |
---|---|
NoSuchObjectException |
ODPS对象不存在
|
OdpsException |
ODPS SDK产生的异常
|
ReloadException |
重新加载异常,当
LazyLoad 对象实际加载对象属性时,
如果遇到网络等异常状况,可能抛出此异常 |
VolumeException |
Volume Exception
|
ODPS基本资源包括: Table, Resource, Function等
Examples:
Account account = new AliyunAccount("accessId", "accessKey");
Odps odps = new Odps(account);
odps.setDefaultProject("my_project");
for (Table t : odps.tables()) {
System.out.print(t.getName() + "\t" + t.getOwner());
}
Copyright © 2024 Alibaba Cloud Computing. All rights reserved.