Service - Feed Chunk: Difference between revisions
Jump to navigation
Jump to search
Created page with "= Overview = An uploaded section of a video feed. = Repository = https://bitbucket.org/izara-video-feed/izara-video-feed-feeds-feed-chunk = objectSchemas = <syntaxhighlight lang="JavaScript"> { objectType: "feedChunk", belongTo: { serviceTag: "user", objectType: "user" }, storageResources:{ "xxx":{ storageType: "graph", graphServerTag: "xx", } }, fieldNames: { feedChunkId: { type: "string", randomOnCreate: true }, sourceT..." |
No edit summary |
||
| Line 13: | Line 13: | ||
objectType: "feedChunk", | objectType: "feedChunk", | ||
belongTo: { | belongTo: { | ||
serviceTag: " | serviceTag: "Operation", | ||
objectType: " | objectType: "operation" | ||
}, | }, | ||
storageResources:{ | storageResources:{ | ||
Latest revision as of 01:06, 4 August 2026
Overview
An uploaded section of a video feed.
Repository
https://bitbucket.org/izara-video-feed/izara-video-feed-feeds-feed-chunk
objectSchemas
{
objectType: "feedChunk",
belongTo: {
serviceTag: "Operation",
objectType: "operation"
},
storageResources:{
"xxx":{
storageType: "graph",
graphServerTag: "xx",
}
},
fieldNames: {
feedChunkId: {
type: "string",
randomOnCreate: true
},
sourceTimeStart: {
type: "timestamp",
},
sourceTimeEnd: {
type: "timestamp",
},
timeUploaded: {
type: "timestamp",
},
},
identifiers: [
{
fieldName: "feedChunkId"
},
]
},
{
objectType: "feedChunkByTime",
storageResources:{
"xxx":{
storageType: "dynamoDB",
tableName: "feedChunkByTime",
}
},
fieldNames: {
videoFeedId: {
fromObjType:{
serviceTag: "videoFeed",
objectType: "videoFeed",
}
},
sourceTimeStart: {
fromObjType:{
serviceTag: "feedChunk",
objectType: "feedChunk",
}
},
feedChunkId: {
fromObjType:{
serviceTag: "feedChunk",
objectType: "feedChunk",
}
},
sourceTimeEnd: {
fromObjType:{
serviceTag: "feedChunk",
objectType: "feedChunk",
}
},
},
identifiers: [
{
type: "partitionKey",
fieldName: "videoFeedId"
},
{
type: "sortKey",
fieldName: "sourceTimeStart"
},
]
},
- used to find chunk for a specific timestamp
- can create from feedChunk objType?