Skip to content

Commit

Permalink
Fixed an issue with parameter ordering that caused IDs in TemporalMet…
Browse files Browse the repository at this point in the history
…adataDescriptor to be swapped.

Signed-off-by: Ralph Gasser <[email protected]>
  • Loading branch information
ppanopticon committed Dec 22, 2023
1 parent 5991e5c commit 2f182f3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ import org.vitrivr.engine.core.model.descriptor.Descriptor
* @author Ralph Gasser
* @version 1.0.0
*/
interface StructDescriptor: Descriptor {

}
interface StructDescriptor : Descriptor
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import org.vitrivr.engine.core.model.retrievable.RetrievableId
* @version 1.0.0
*/
data class TemporalMetadataDescriptor(
override val retrievableId: RetrievableId, //retrievable Id must come first, due to reflection
override val id: DescriptorId,
override val retrievableId: RetrievableId, //retrievable Id must come first, due to reflection
val startNs: Long,
val endNs: Long,
override val transient: Boolean = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import org.vitrivr.engine.core.model.retrievable.RetrievableId
* @version 1.0.0
*/
data class FileSourceMetadataDescriptor(
override val retrievableId: RetrievableId,
override val id: DescriptorId,
override val retrievableId: RetrievableId,
val path: String,
val size: Long,
override val transient: Boolean = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import java.util.*
* @version 1.0.0
*/
class VideoSourceMetadataDescriptor(
override val retrievableId: RetrievableId,
override val id: DescriptorId,
override val retrievableId: RetrievableId,
val width: Int,
val height: Int,
val fps: Double,
Expand Down

0 comments on commit 2f182f3

Please sign in to comment.