com
.
cognite
.
sdk
.
scala
.
v1
.
resources
Files
Related Docs:
object Files
|
package resources
class
Files
[
F
[
_
]
]
extends
WithRequestSession
[
F
] with
PartitionedReadable
[
File
,
F
] with
RetrieveByIds
[
File
,
F
] with
RetrieveByExternalIds
[
File
,
F
] with
Create
[
File
,
FileCreate
,
F
] with
DeleteByIds
[
F
,
Long
] with
DeleteByExternalIds
[
F
] with
PartitionedFilter
[
File
,
FilesFilter
,
F
] with
Search
[
File
,
FilesQuery
,
F
] with
UpdateById
[
File
,
FileUpdate
,
F
] with
UpdateByExternalId
[
File
,
FileUpdate
,
F
]
Linear Supertypes
UpdateByExternalId
[
File
,
FileUpdate
,
F
],
UpdateById
[
File
,
FileUpdate
,
F
],
Search
[
File
,
FilesQuery
,
F
],
PartitionedFilter
[
File
,
FilesFilter
,
F
],
PartitionedFilterF
[
File
,
FilesFilter
,
F
],
Filter
[
File
,
FilesFilter
,
F
],
DeleteByExternalIds
[
F
],
DeleteByIds
[
F
,
Long
],
Create
[
File
,
FileCreate
,
F
],
CreateOne
[
File
,
FileCreate
,
F
],
RetrieveByExternalIds
[
File
,
F
],
RetrieveByIds
[
File
,
F
],
PartitionedReadable
[
File
,
F
],
Readable
[
File
,
F
],
BaseUrl
,
WithRequestSession
[
F
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Files
UpdateByExternalId
UpdateById
Search
PartitionedFilter
PartitionedFilterF
Filter
DeleteByExternalIds
DeleteByIds
Create
CreateOne
RetrieveByExternalIds
RetrieveByIds
PartitionedReadable
Readable
BaseUrl
WithRequestSession
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Files
(
requestSession:
RequestSession
[
F
]
)
(
implicit
arg0:
Applicative
[
F
]
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
baseUrl
:
Uri
Definition Classes
Files
→
BaseUrl
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
create
(
items:
Seq
[
FileCreate
]
)
:
F
[
Seq
[
File
]]
Definition Classes
Create
def
createFromRead
(
items:
Seq
[
File
]
)
(
implicit
t:
Transformer
[
File
,
FileCreate
]
)
:
F
[
Seq
[
File
]]
Definition Classes
Create
def
createItems
(
items:
Items
[
FileCreate
]
)
:
F
[
Seq
[
File
]]
Definition Classes
Files
→
Create
def
createOne
(
item:
FileCreate
)
:
F
[
File
]
Definition Classes
Files
→
Create
→
CreateOne
def
createOneFromRead
(
item:
File
)
(
implicit
t:
Transformer
[
File
,
FileCreate
]
)
:
F
[
File
]
Definition Classes
CreateOne
def
deleteByExternalId
(
externalId:
String
)
:
F
[
Unit
]
Definition Classes
DeleteByExternalIds
def
deleteByExternalIds
(
externalIds:
Seq
[
String
]
)
:
F
[
Unit
]
Definition Classes
Files
→
DeleteByExternalIds
def
deleteById
(
id:
Long
)
:
F
[
Unit
]
Definition Classes
DeleteByIds
def
deleteByIds
(
ids:
Seq
[
Long
]
)
:
F
[
Unit
]
Definition Classes
Files
→
DeleteByIds
def
download
(
item:
FileDownload
,
out:
OutputStream
)
:
F
[
Unit
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
implicit
val
errorOrFileDecoder
:
Decoder
[
Either
[
CdpApiError
,
File
]]
def
filter
(
filter:
FilesFilter
,
limit:
Option
[
Int
] =
None
)
:
Stream
[
F
,
File
]
Definition Classes
Filter
def
filterConcurrently
(
filter:
FilesFilter
,
numPartitions:
Int
,
limitPerPartition:
Option
[
Int
] =
None
)
(
implicit
F:
Concurrent
[
F
]
)
:
Stream
[
F
,
File
]
Definition Classes
PartitionedFilterF
def
filterPartitions
(
filter:
FilesFilter
,
numPartitions:
Int
,
limitPerPartition:
Option
[
Int
] =
None
)
:
Seq
[
Stream
[
F
,
File
]]
Definition Classes
PartitionedFilter
def
filterPartitionsF
(
filter:
FilesFilter
,
numPartitions:
Int
,
limitPerPartition:
Option
[
Int
]
)
(
implicit
F:
Applicative
[
F
]
)
:
F
[
Seq
[
Stream
[
F
,
File
]]]
Definition Classes
PartitionedFilter
→
PartitionedFilterF
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
list
(
limit:
Option
[
Int
] =
None
)
:
Stream
[
F
,
File
]
Definition Classes
Readable
def
listConcurrently
(
numPartitions:
Int
,
limitPerPartition:
Option
[
Int
] =
None
)
(
implicit
c:
Concurrent
[
F
]
)
:
Stream
[
F
,
File
]
Definition Classes
PartitionedReadable
def
listPartitions
(
numPartitions:
Int
,
limitPerPartition:
Option
[
Int
] =
None
)
:
Seq
[
Stream
[
F
,
File
]]
Definition Classes
PartitionedReadable
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
read
(
limit:
Option
[
Int
] =
None
)
:
F
[
ItemsWithCursor
[
File
]]
Definition Classes
Readable
val
requestSession
:
RequestSession
[
F
]
Definition Classes
Files
→
WithRequestSession
def
retrieveByExternalId
(
externalId:
String
)
:
F
[
File
]
Definition Classes
RetrieveByExternalIds
Annotations
@SuppressWarnings
()
def
retrieveByExternalIds
(
externalIds:
Seq
[
String
]
)
:
F
[
Seq
[
File
]]
Definition Classes
Files
→
RetrieveByExternalIds
def
retrieveById
(
id:
Long
)
:
F
[
File
]
Definition Classes
RetrieveByIds
Annotations
@SuppressWarnings
()
def
retrieveByIds
(
ids:
Seq
[
Long
]
)
:
F
[
Seq
[
File
]]
Definition Classes
Files
→
RetrieveByIds
def
search
(
searchQuery:
FilesQuery
)
:
F
[
Seq
[
File
]]
Definition Classes
Files
→
Search
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
updateByExternalId
(
items:
Map
[
String
,
FileUpdate
]
)
:
F
[
Seq
[
File
]]
Definition Classes
Files
→
UpdateByExternalId
def
updateById
(
items:
Map
[
Long
,
FileUpdate
]
)
:
F
[
Seq
[
File
]]
Definition Classes
Files
→
UpdateById
def
updateFromRead
(
items:
Seq
[
File
]
)
(
implicit
t:
Transformer
[
File
,
FileUpdate
]
)
:
F
[
Seq
[
File
]]
Definition Classes
UpdateById
def
updateOneByExternalId
(
id:
String
,
item:
FileUpdate
)
:
F
[
File
]
Definition Classes
UpdateByExternalId
def
updateOneById
(
id:
Long
,
item:
FileUpdate
)
:
F
[
File
]
Definition Classes
UpdateById
def
updateOneFromRead
(
item:
File
)
(
implicit
t:
Transformer
[
File
,
FileUpdate
]
)
:
F
[
File
]
Definition Classes
UpdateById
def
upload
(
file:
java.io.File
)
:
F
[
File
]
def
uploadWithName
(
input:
InputStream
,
name:
String
)
:
F
[
File
]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
UpdateByExternalId
[
File
,
FileUpdate
,
F
]
Inherited from
UpdateById
[
File
,
FileUpdate
,
F
]
Inherited from
Search
[
File
,
FilesQuery
,
F
]
Inherited from
PartitionedFilter
[
File
,
FilesFilter
,
F
]
Inherited from
PartitionedFilterF
[
File
,
FilesFilter
,
F
]
Inherited from
Filter
[
File
,
FilesFilter
,
F
]
Inherited from
DeleteByExternalIds
[
F
]
Inherited from
DeleteByIds
[
F
,
Long
]
Inherited from
Create
[
File
,
FileCreate
,
F
]
Inherited from
CreateOne
[
File
,
FileCreate
,
F
]
Inherited from
RetrieveByExternalIds
[
File
,
F
]
Inherited from
RetrieveByIds
[
File
,
F
]
Inherited from
PartitionedReadable
[
File
,
F
]
Inherited from
Readable
[
File
,
F
]
Inherited from
BaseUrl
Inherited from
WithRequestSession
[
F
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped